mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Generate crt from csr
This commit is contained in:
parent
994d4140c2
commit
bbe8a780a8
6 changed files with 58 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
= form_for([:admin, @api_user]) do |f|
|
||||
= form_for([:admin, @api_user], multipart: true) do |f|
|
||||
- if @api_user.errors.any?
|
||||
- @api_user.errors.each do |attr, err|
|
||||
= err
|
||||
|
@ -30,7 +30,7 @@
|
|||
.col-md-6.text-left
|
||||
.form-group
|
||||
= f.label :csr, t('certificate_signing_req')
|
||||
= f.text_area :csr, class: 'form-control'
|
||||
= f.file_field :csr
|
||||
%hr
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t('csr')
|
||||
%dd= @api_user.csr
|
||||
%dd= link_to(t('download'), download_csr_admin_api_user_path)
|
||||
|
||||
%dt= t('crt')
|
||||
%dd= @api_user.crt
|
||||
%dd= link_to(t('download'), download_crt_admin_api_user_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue