Blame SOURCES/openssl-1.1.1-defaults.patch

0bf02d
diff -up openssl-1.1.1a/apps/openssl.cnf.defaults openssl-1.1.1a/apps/openssl.cnf
0bf02d
--- openssl-1.1.1a/apps/openssl.cnf.defaults	2018-11-20 14:35:37.000000000 +0100
0bf02d
+++ openssl-1.1.1a/apps/openssl.cnf	2019-01-15 13:56:50.841719776 +0100
0bf02d
@@ -74,7 +74,7 @@ cert_opt 	= ca_default		# Certificate fi
0bf02d
 
0bf02d
 default_days	= 365			# how long to certify for
0bf02d
 default_crl_days= 30			# how long before next CRL
0bf02d
-default_md	= default		# use public key default MD
0bf02d
+default_md	= sha256		# use SHA-256 by default
0bf02d
 preserve	= no			# keep passed DN ordering
0bf02d
 
0bf02d
 # A few difference way of specifying how similar the request should look
0bf02d
@@ -106,6 +106,7 @@ emailAddress		= optional
0bf02d
 ####################################################################
0bf02d
 [ req ]
0bf02d
 default_bits		= 2048
0bf02d
+default_md		= sha256
0bf02d
 default_keyfile 	= privkey.pem
0bf02d
 distinguished_name	= req_distinguished_name
0bf02d
 attributes		= req_attributes
0bf02d
@@ -128,17 +129,18 @@ string_mask = utf8only
0bf02d
 
0bf02d
 [ req_distinguished_name ]
0bf02d
 countryName			= Country Name (2 letter code)
0bf02d
-countryName_default		= AU
0bf02d
+countryName_default		= XX
0bf02d
 countryName_min			= 2
0bf02d
 countryName_max			= 2
0bf02d
 
0bf02d
 stateOrProvinceName		= State or Province Name (full name)
0bf02d
-stateOrProvinceName_default	= Some-State
0bf02d
+#stateOrProvinceName_default	= Default Province
0bf02d
 
0bf02d
 localityName			= Locality Name (eg, city)
0bf02d
+localityName_default		= Default City
0bf02d
 
0bf02d
 0.organizationName		= Organization Name (eg, company)
0bf02d
-0.organizationName_default	= Internet Widgits Pty Ltd
0bf02d
+0.organizationName_default	= Default Company Ltd
0bf02d
 
0bf02d
 # we can do this but it is not needed normally :-)
0bf02d
 #1.organizationName		= Second Organization Name (eg, company)
0bf02d
@@ -147,7 +149,7 @@ localityName			= Locality Name (eg, city
0bf02d
 organizationalUnitName		= Organizational Unit Name (eg, section)
0bf02d
 #organizationalUnitName_default	=
0bf02d
 
0bf02d
-commonName			= Common Name (e.g. server FQDN or YOUR name)
0bf02d
+commonName			= Common Name (eg, your name or your server\'s hostname)
0bf02d
 commonName_max			= 64
0bf02d
 
0bf02d
 emailAddress			= Email Address