Blame SOURCES/openssl-1.0.2a-defaults.patch

450916
diff -up openssl-1.0.2a/apps/openssl.cnf.defaults openssl-1.0.2a/apps/openssl.cnf
450916
--- openssl-1.0.2a/apps/openssl.cnf.defaults	2015-03-19 14:30:36.000000000 +0100
450916
+++ openssl-1.0.2a/apps/openssl.cnf	2015-04-20 14:37:10.112271850 +0200
450916
@@ -72,7 +72,7 @@ cert_opt 	= ca_default		# Certificate fi
450916
 
450916
 default_days	= 365			# how long to certify for
450916
 default_crl_days= 30			# how long before next CRL
450916
-default_md	= default		# use public key default MD
450916
+default_md	= sha256		# use SHA-256 by default
450916
 preserve	= no			# keep passed DN ordering
450916
 
450916
 # A few difference way of specifying how similar the request should look
450916
@@ -104,6 +104,7 @@ emailAddress		= optional
450916
 ####################################################################
450916
 [ req ]
450916
 default_bits		= 2048
450916
+default_md		= sha256
450916
 default_keyfile 	= privkey.pem
450916
 distinguished_name	= req_distinguished_name
450916
 attributes		= req_attributes
450916
@@ -126,17 +127,18 @@ string_mask = utf8only
450916
 
450916
 [ req_distinguished_name ]
450916
 countryName			= Country Name (2 letter code)
450916
-countryName_default		= AU
450916
+countryName_default		= XX
450916
 countryName_min			= 2
450916
 countryName_max			= 2
450916
 
450916
 stateOrProvinceName		= State or Province Name (full name)
450916
-stateOrProvinceName_default	= Some-State
450916
+#stateOrProvinceName_default	= Default Province
450916
 
450916
 localityName			= Locality Name (eg, city)
450916
+localityName_default		= Default City
450916
 
450916
 0.organizationName		= Organization Name (eg, company)
450916
-0.organizationName_default	= Internet Widgits Pty Ltd
450916
+0.organizationName_default	= Default Company Ltd
450916
 
450916
 # we can do this but it is not needed normally :-)
450916
 #1.organizationName		= Second Organization Name (eg, company)
450916
@@ -145,7 +147,7 @@ localityName			= Locality Name (eg, city
450916
 organizationalUnitName		= Organizational Unit Name (eg, section)
450916
 #organizationalUnitName_default	=
450916
 
450916
-commonName			= Common Name (e.g. server FQDN or YOUR name)
450916
+commonName			= Common Name (eg, your name or your server\'s hostname)
450916
 commonName_max			= 64
450916
 
450916
 emailAddress			= Email Address
450916
@@ -339,7 +341,7 @@ signer_key	= $dir/private/tsakey.pem # T
450916
 default_policy	= tsa_policy1		# Policy if request did not specify it
450916
 					# (optional)
450916
 other_policies	= tsa_policy2, tsa_policy3	# acceptable policies (optional)
450916
-digests		= md5, sha1		# Acceptable message digests (mandatory)
450916
+digests		= sha1, sha256, sha384, sha512	# Acceptable message digests (mandatory)
450916
 accuracy	= secs:1, millisecs:500, microsecs:100	# (optional)
450916
 clock_precision_digits  = 0	# number of digits after dot. (optional)
450916
 ordering		= yes	# Is ordering defined for timestamps?