Blame SOURCES/openssl-1.1.1-defaults.patch

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