Skip to content

Commit

Permalink
Added option to generate EKU in a certificate for users
Browse files Browse the repository at this point in the history
  • Loading branch information
hussamnasir committed Sep 27, 2018
1 parent 07044df commit 704c2bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/cert_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def make_cert(uuid, email, urn, signer_cert_file, signer_key_file, csr_file,
extdata_template = "[ %s ]\n" + \
"subjectKeyIdentifier=hash\n" + \
"authorityKeyIdentifier=keyid:always,issuer:always\n" + \
"extendedKeyUsage=serverAuth, clientAuth, timeStamping, codeSigning, emailProtection\n" + \
"basicConstraints = CA:false\n"
extdata = extdata_template % extname

Expand Down

0 comments on commit 704c2bf

Please sign in to comment.