Blame SOURCES/openssl-1.1.1-defaults.patch

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