|
|
510bcc2 |
diff -up openssl-1.1.0-pre5/apps/openssl.cnf.defaults openssl-1.1.0-pre5/apps/openssl.cnf
|
|
|
510bcc2 |
--- openssl-1.1.0-pre5/apps/openssl.cnf.defaults 2016-04-19 16:57:52.000000000 +0200
|
|
|
510bcc2 |
+++ openssl-1.1.0-pre5/apps/openssl.cnf 2016-07-18 14:22:08.252691017 +0200
|
|
|
abe6230 |
@@ -72,7 +72,7 @@ cert_opt = ca_default # Certificate fi
|
|
|
abe6230 |
|
|
|
abe6230 |
default_days = 365 # how long to certify for
|
|
|
abe6230 |
default_crl_days= 30 # how long before next CRL
|
|
|
abe6230 |
-default_md = default # use public key default MD
|
|
|
abe6230 |
+default_md = sha256 # use SHA-256 by default
|
|
|
abe6230 |
preserve = no # keep passed DN ordering
|
|
|
abe6230 |
|
|
|
abe6230 |
# A few difference way of specifying how similar the request should look
|
|
|
a1fb602 |
@@ -104,6 +104,7 @@ emailAddress = optional
|
|
|
e96bebc |
####################################################################
|
|
|
e96bebc |
[ req ]
|
|
|
a1fb602 |
default_bits = 2048
|
|
|
abe6230 |
+default_md = sha256
|
|
|
e96bebc |
default_keyfile = privkey.pem
|
|
|
e96bebc |
distinguished_name = req_distinguished_name
|
|
|
e96bebc |
attributes = req_attributes
|
|
|
2ccfa6b |
@@ -126,17 +127,18 @@ string_mask = utf8only
|
|
|
e96bebc |
|
|
|
e96bebc |
[ req_distinguished_name ]
|
|
|
e96bebc |
countryName = Country Name (2 letter code)
|
|
|
e96bebc |
-countryName_default = AU
|
|
|
2ccfa6b |
+countryName_default = XX
|
|
|
e96bebc |
countryName_min = 2
|
|
|
e96bebc |
countryName_max = 2
|
|
|
e96bebc |
|
|
|
e96bebc |
stateOrProvinceName = State or Province Name (full name)
|
|
|
e96bebc |
-stateOrProvinceName_default = Some-State
|
|
|
2ccfa6b |
+#stateOrProvinceName_default = Default Province
|
|
|
e96bebc |
|
|
|
e96bebc |
localityName = Locality Name (eg, city)
|
|
|
abe6230 |
+localityName_default = Default City
|
|
|
e96bebc |
|
|
|
e96bebc |
0.organizationName = Organization Name (eg, company)
|
|
|
e96bebc |
-0.organizationName_default = Internet Widgits Pty Ltd
|
|
|
2ccfa6b |
+0.organizationName_default = Default Company Ltd
|
|
|
e96bebc |
|
|
|
e96bebc |
# we can do this but it is not needed normally :-)
|
|
|
e96bebc |
#1.organizationName = Second Organization Name (eg, company)
|
|
|
2ccfa6b |
@@ -145,7 +147,7 @@ localityName = Locality Name (eg, city
|
|
|
e96bebc |
organizationalUnitName = Organizational Unit Name (eg, section)
|
|
|
e96bebc |
#organizationalUnitName_default =
|
|
|
e96bebc |
|
|
|
ea1d432 |
-commonName = Common Name (e.g. server FQDN or YOUR name)
|
|
|
e96bebc |
+commonName = Common Name (eg, your name or your server\'s hostname)
|
|
|
e96bebc |
commonName_max = 64
|
|
|
e96bebc |
|
|
|
e96bebc |
emailAddress = Email Address
|