Blame SOURCES/openssl-1.1.1-defaults.patch

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