mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Merge pull request #2178 from internetee/2177-signing-cert-requests-fails-in-admin
change flags in openssl cert generator
This commit is contained in:
commit
20245fb302
2 changed files with 2 additions and 2 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')
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ require 'application_system_test_case'
|
|||
class RegistrarAreaNameserverBulkChangeTest < ApplicationSystemTestCase
|
||||
setup do
|
||||
sign_in users(:api_goodnames)
|
||||
Capybara.default_max_wait_time = 5
|
||||
Capybara.default_max_wait_time = 10
|
||||
end
|
||||
|
||||
def test_replaces_current_registrar_nameservers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue