mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
change flags in openssl cert generator
This commit is contained in:
parent
6a4e6269c6
commit
ce15a708a0
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Certificate < ApplicationRecord
|
|||
crt_file = Tempfile.new('client_crt')
|
||||
_out, err, _st = Open3.capture3('openssl', 'ca', '-config', ENV['openssl_config_path'],
|
||||
'-keyfile', ENV['ca_key_path'], '-cert', ENV['ca_cert_path'],
|
||||
'-extensions', 'usr_cert', '-notext', '-md sha256',
|
||||
'-extensions', 'usr_cert', '-notext', '-md', 'sha256',
|
||||
'-in', csr_file.path, '-out', crt_file.path, '-key', ENV['ca_key_password'],
|
||||
'-batch')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue