diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/openssl.cnf | 47 |
1 files changed, 3 insertions, 44 deletions
diff --git a/src/lib/libcrypto/openssl.cnf b/src/lib/libcrypto/openssl.cnf index bb97b155b8..8ce83bf90d 100644 --- a/src/lib/libcrypto/openssl.cnf +++ b/src/lib/libcrypto/openssl.cnf | |||
| @@ -1,41 +1,20 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL example configuration file. | ||
| 3 | # This is mostly being used for generation of certificate requests. | ||
| 4 | # | ||
| 5 | |||
| 6 | RANDFILE = /dev/arandom | ||
| 7 | |||
| 8 | #################################################################### | ||
| 9 | [ req ] | 1 | [ req ] |
| 10 | default_bits = 1024 | 2 | #default_bits = 2048 |
| 11 | default_keyfile = privkey.pem | 3 | #default_md = sha256 |
| 4 | #default_keyfile = privkey.pem | ||
| 12 | distinguished_name = req_distinguished_name | 5 | distinguished_name = req_distinguished_name |
| 13 | attributes = req_attributes | 6 | attributes = req_attributes |
| 14 | 7 | ||
| 15 | [ req_distinguished_name ] | 8 | [ req_distinguished_name ] |
| 16 | countryName = Country Name (2 letter code) | 9 | countryName = Country Name (2 letter code) |
| 17 | #countryName_default = AU | ||
| 18 | countryName_min = 2 | 10 | countryName_min = 2 |
| 19 | countryName_max = 2 | 11 | countryName_max = 2 |
| 20 | |||
| 21 | stateOrProvinceName = State or Province Name (full name) | 12 | stateOrProvinceName = State or Province Name (full name) |
| 22 | #stateOrProvinceName_default = Some-State | ||
| 23 | |||
| 24 | localityName = Locality Name (eg, city) | 13 | localityName = Locality Name (eg, city) |
| 25 | |||
| 26 | 0.organizationName = Organization Name (eg, company) | 14 | 0.organizationName = Organization Name (eg, company) |
| 27 | #0.organizationName_default = Internet Widgits Pty Ltd | ||
| 28 | |||
| 29 | # we can do this but it is not needed normally :-) | ||
| 30 | #1.organizationName = Second Organization Name (eg, company) | ||
| 31 | #1.organizationName_default = CryptSoft Pty Ltd | ||
| 32 | |||
| 33 | organizationalUnitName = Organizational Unit Name (eg, section) | 15 | organizationalUnitName = Organizational Unit Name (eg, section) |
| 34 | #organizationalUnitName_default = | ||
| 35 | |||
| 36 | commonName = Common Name (eg, fully qualified host name) | 16 | commonName = Common Name (eg, fully qualified host name) |
| 37 | commonName_max = 64 | 17 | commonName_max = 64 |
| 38 | |||
| 39 | emailAddress = Email Address | 18 | emailAddress = Email Address |
| 40 | emailAddress_max = 64 | 19 | emailAddress_max = 64 |
| 41 | 20 | ||
| @@ -43,23 +22,3 @@ emailAddress_max = 64 | |||
| 43 | challengePassword = A challenge password | 22 | challengePassword = A challenge password |
| 44 | challengePassword_min = 4 | 23 | challengePassword_min = 4 |
| 45 | challengePassword_max = 20 | 24 | challengePassword_max = 20 |
| 46 | |||
| 47 | unstructuredName = An optional company name | ||
| 48 | |||
| 49 | [ x509v3_extensions ] | ||
| 50 | |||
| 51 | nsCaRevocationUrl = http://www.cryptsoft.com/ca-crl.pem | ||
| 52 | nsComment = "This is a comment" | ||
| 53 | |||
| 54 | # under ASN.1, the 0 bit would be encoded as 80 | ||
| 55 | nsCertType = 0x40 | ||
| 56 | |||
| 57 | #nsBaseUrl | ||
| 58 | #nsRevocationUrl | ||
| 59 | #nsRenewalUrl | ||
| 60 | #nsCaPolicyUrl | ||
| 61 | #nsSslServerName | ||
| 62 | #nsCertSequence | ||
| 63 | #nsCertExt | ||
| 64 | #nsDataType | ||
| 65 | |||
