Blame SOURCES/openssl-1.1.0-defaults.patch

e4b8d1
diff -up openssl-1.1.0-pre5/apps/openssl.cnf.defaults openssl-1.1.0-pre5/apps/openssl.cnf
e4b8d1
--- openssl-1.1.0-pre5/apps/openssl.cnf.defaults	2016-04-19 16:57:52.000000000 +0200
e4b8d1
+++ openssl-1.1.0-pre5/apps/openssl.cnf	2016-07-18 14:22:08.252691017 +0200
e4b8d1
@@ -10,7 +10,7 @@
e4b8d1
 # This definition stops the following lines choking if HOME isn't
e4b8d1
 # defined.
e4b8d1
 HOME			= .
e4b8d1
-RANDFILE		= $ENV::HOME/.rnd
e4b8d1
+#RANDFILE		= $ENV::HOME/.rnd
e4b8d1
 
e4b8d1
 # Extra OBJECT IDENTIFIER info:
e4b8d1
 #oid_file		= $ENV::HOME/.oid
e4b8d1
@@ -72,7 +72,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
e4b8d1
@@ -104,6 +104,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
e4b8d1
@@ -126,17 +127,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)
e4b8d1
@@ -145,7 +147,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