We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ecc8d3 + 24d53bd commit dca94f6Copy full SHA for dca94f6
1 file changed
fs_overlay/opt/certs_manager/lib/open_ssl.rb
@@ -53,13 +53,11 @@ def self.self_sign(domain)
53
54
command = <<-EOC
55
openssl req -x509 \
56
- -newkey rsa:#{NAConfig.key_length} \
57
- -nodes \
+ -in #{domain.csr_path} \
+ -key #{domain.ongoing_key_path} \
58
-out #{domain.ongoing_cert_path} \
59
- -keyout #{domain.ongoing_key_path} \
60
-days 90 \
61
-batch \
62
- -subj "/CN=#{domain.name}" \
63
-addext "extendedKeyUsage = serverAuth"
64
EOC
65
0 commit comments