Skip to content

Commit

Permalink
Merge pull request #4466 from esl/certificate-generation-changes
Browse files Browse the repository at this point in the history
Fixing certificates generation for cockroachDB
  • Loading branch information
DenysGonchar authored Jan 21, 2025
2 parents bf3f4b9 + 90cdb4f commit 83eb36a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/ssl/openssl-ca.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ unique_subject = no # Set to 'no' to allow creation of
[ req ]
default_bits = 4096
distinguished_name = ca_distinguished_name
#x509_extensions = ca_extensions
x509_extensions = extensions
string_mask = utf8only
prompt = no

Expand Down Expand Up @@ -62,3 +62,7 @@ authorityKeyIdentifier=keyid,issuer

basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment

[ extensions ]
keyUsage = critical,digitalSignature,nonRepudiation,keyEncipherment,keyCertSign
basicConstraints = critical,CA:true,pathlen:1

0 comments on commit 83eb36a

Please sign in to comment.