1 diff -up openssl-1.1.0-pre5/apps/openssl.cnf.defaults openssl-1.1.0-pre5/apps/openssl.cnf
2 --- openssl-1.1.0-pre5/apps/openssl.cnf.defaults 2016-04-19 16:57:52.000000000 +0200
3 +++ openssl-1.1.0-pre5/apps/openssl.cnf 2016-07-18 14:22:08.252691017 +0200
4 @@ -72,7 +72,7 @@ cert_opt = ca_default # Certificate fi
6 default_days = 365 # how long to certify for
7 default_crl_days= 30 # how long before next CRL
8 -default_md = default # use public key default MD
9 +default_md = sha256 # use SHA-256 by default
10 preserve = no # keep passed DN ordering
12 # A few difference way of specifying how similar the request should look
13 @@ -104,6 +104,7 @@ emailAddress = optional
14 ####################################################################
18 default_keyfile = privkey.pem
19 distinguished_name = req_distinguished_name
20 attributes = req_attributes
21 @@ -126,17 +127,18 @@ string_mask = utf8only
23 [ req_distinguished_name ]
24 countryName = Country Name (2 letter code)
25 -countryName_default = AU
26 +countryName_default = XX
30 stateOrProvinceName = State or Province Name (full name)
31 -stateOrProvinceName_default = Some-State
32 +#stateOrProvinceName_default = Default Province
34 localityName = Locality Name (eg, city)
35 +localityName_default = Default City
37 0.organizationName = Organization Name (eg, company)
38 -0.organizationName_default = Internet Widgits Pty Ltd
39 +0.organizationName_default = Default Company Ltd
41 # we can do this but it is not needed normally :-)
42 #1.organizationName = Second Organization Name (eg, company)
43 @@ -145,7 +147,7 @@ localityName = Locality Name (eg, city
44 organizationalUnitName = Organizational Unit Name (eg, section)
45 #organizationalUnitName_default =
47 -commonName = Common Name (e.g. server FQDN or YOUR name)
48 +commonName = Common Name (eg, your name or your server\'s hostname)
51 emailAddress = Email Address