forked from Normation/rudder-tools
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# mandatory for some openssl commands | ||
[ req ] | ||
distinguished_name = req_distinguished_name | ||
|
||
[ req_distinguished_name ] | ||
|
||
|
||
# DOC: https://superuser.com/questions/738612/openssl-ca-keyusage-extension/1248085#1248085 | ||
# There is no real check on those features by openssl except basicConstraints | ||
# We don't use critical not pathlen to avoid incompatibilities with future checks | ||
|
||
# keyCertSign: certificate signature | ||
# cRLSign: crl signature | ||
# digitalSignature: file signature (not used for crl, may be used for DHE) | ||
# dataEncipherment: file encryption (usualy no used, we cipher a temporary key instead) | ||
# keyEncipherment: key exchange (for tls with RSA) | ||
# keyAgreement: key exchange (for tls with DHE) | ||
|
||
[ agent_cert ] | ||
# subject = /CN=hostname/UID=uuid | ||
basicConstraints = CA:FALSE | ||
subjectKeyIdentifier = hash | ||
authorityKeyIdentifier = keyid:always, issuer:always | ||
keyUsage = digitalSignature, dataEncipherment, keyEncipherment, keyAgreement | ||
#extendedKeyUsage = clientAuth |