Blame SOURCES/openssl-1.1.1-defaults.patch

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