|
|
aa8173 |
diff -up openssl-1.0.2a/apps/openssl.cnf.defaults openssl-1.0.2a/apps/openssl.cnf
|
|
|
aa8173 |
--- openssl-1.0.2a/apps/openssl.cnf.defaults 2015-03-19 14:30:36.000000000 +0100
|
|
|
aa8173 |
+++ openssl-1.0.2a/apps/openssl.cnf 2015-04-20 14:37:10.112271850 +0200
|
|
|
aa8173 |
@@ -72,7 +72,7 @@ cert_opt = ca_default # Certificate fi
|
|
|
aa8173 |
|
|
|
aa8173 |
default_days = 365 # how long to certify for
|
|
|
aa8173 |
default_crl_days= 30 # how long before next CRL
|
|
|
aa8173 |
-default_md = default # use public key default MD
|
|
|
aa8173 |
+default_md = sha256 # use SHA-256 by default
|
|
|
aa8173 |
preserve = no # keep passed DN ordering
|
|
|
aa8173 |
|
|
|
aa8173 |
# A few difference way of specifying how similar the request should look
|
|
|
aa8173 |
@@ -104,6 +104,7 @@ emailAddress = optional
|
|
|
aa8173 |
####################################################################
|
|
|
aa8173 |
[ req ]
|
|
|
aa8173 |
default_bits = 2048
|
|
|
aa8173 |
+default_md = sha256
|
|
|
aa8173 |
default_keyfile = privkey.pem
|
|
|
aa8173 |
distinguished_name = req_distinguished_name
|
|
|
aa8173 |
attributes = req_attributes
|
|
|
aa8173 |
@@ -126,17 +127,18 @@ string_mask = utf8only
|
|
|
aa8173 |
|
|
|
aa8173 |
[ req_distinguished_name ]
|
|
|
aa8173 |
countryName = Country Name (2 letter code)
|
|
|
aa8173 |
-countryName_default = AU
|
|
|
aa8173 |
+countryName_default = XX
|
|
|
aa8173 |
countryName_min = 2
|
|
|
aa8173 |
countryName_max = 2
|
|
|
aa8173 |
|
|
|
aa8173 |
stateOrProvinceName = State or Province Name (full name)
|
|
|
aa8173 |
-stateOrProvinceName_default = Some-State
|
|
|
aa8173 |
+#stateOrProvinceName_default = Default Province
|
|
|
aa8173 |
|
|
|
aa8173 |
localityName = Locality Name (eg, city)
|
|
|
aa8173 |
+localityName_default = Default City
|
|
|
aa8173 |
|
|
|
aa8173 |
0.organizationName = Organization Name (eg, company)
|
|
|
aa8173 |
-0.organizationName_default = Internet Widgits Pty Ltd
|
|
|
aa8173 |
+0.organizationName_default = Default Company Ltd
|
|
|
aa8173 |
|
|
|
aa8173 |
# we can do this but it is not needed normally :-)
|
|
|
aa8173 |
#1.organizationName = Second Organization Name (eg, company)
|
|
|
aa8173 |
@@ -145,7 +147,7 @@ localityName = Locality Name (eg, city
|
|
|
aa8173 |
organizationalUnitName = Organizational Unit Name (eg, section)
|
|
|
aa8173 |
#organizationalUnitName_default =
|
|
|
aa8173 |
|
|
|
aa8173 |
-commonName = Common Name (e.g. server FQDN or YOUR name)
|
|
|
aa8173 |
+commonName = Common Name (eg, your name or your server\'s hostname)
|
|
|
aa8173 |
commonName_max = 64
|
|
|
aa8173 |
|
|
|
aa8173 |
emailAddress = Email Address
|
|
|
aa8173 |
@@ -339,7 +341,7 @@ signer_key = $dir/private/tsakey.pem # T
|
|
|
aa8173 |
default_policy = tsa_policy1 # Policy if request did not specify it
|
|
|
aa8173 |
# (optional)
|
|
|
aa8173 |
other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional)
|
|
|
aa8173 |
-digests = md5, sha1 # Acceptable message digests (mandatory)
|
|
|
aa8173 |
+digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
|
|
|
aa8173 |
accuracy = secs:1, millisecs:500, microsecs:100 # (optional)
|
|
|
aa8173 |
clock_precision_digits = 0 # number of digits after dot. (optional)
|
|
|
aa8173 |
ordering = yes # Is ordering defined for timestamps?
|