Skip to content

Commit 83eb36a

Browse files
authored
Merge pull request #4466 from esl/certificate-generation-changes
Fixing certificates generation for cockroachDB
2 parents bf3f4b9 + 90cdb4f commit 83eb36a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/ssl/openssl-ca.cnf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ unique_subject = no # Set to 'no' to allow creation of
3434
[ req ]
3535
default_bits = 4096
3636
distinguished_name = ca_distinguished_name
37-
#x509_extensions = ca_extensions
37+
x509_extensions = extensions
3838
string_mask = utf8only
3939
prompt = no
4040

@@ -62,3 +62,7 @@ authorityKeyIdentifier=keyid,issuer
6262

6363
basicConstraints = CA:FALSE
6464
keyUsage = digitalSignature, keyEncipherment
65+
66+
[ extensions ]
67+
keyUsage = critical,digitalSignature,nonRepudiation,keyEncipherment,keyCertSign
68+
basicConstraints = critical,CA:true,pathlen:1

0 commit comments

Comments
 (0)