2023-05-31 13:21:45 +00:00
|
|
|
diff -rupN --no-dereference openssl-3.0.9/apps/openssl.cnf openssl-3.0.9-new/apps/openssl.cnf
|
|
|
|
--- openssl-3.0.9/apps/openssl.cnf 2023-05-30 14:31:57.000000000 +0200
|
2023-05-31 14:52:08 +00:00
|
|
|
+++ openssl-3.0.9-new/apps/openssl.cnf 2023-05-31 16:36:50.587282180 +0200
|
2022-06-02 13:09:32 +00:00
|
|
|
@@ -111,7 +111,7 @@ cert_opt = ca_default # Certificate fi
|
2014-04-09 06:25:44 +00:00
|
|
|
|
|
|
|
default_days = 365 # how long to certify for
|
|
|
|
default_crl_days= 30 # how long before next CRL
|
|
|
|
-default_md = default # use public key default MD
|
|
|
|
+default_md = sha256 # use SHA-256 by default
|
|
|
|
preserve = no # keep passed DN ordering
|
|
|
|
|
|
|
|
# A few difference way of specifying how similar the request should look
|
2022-06-02 13:09:32 +00:00
|
|
|
@@ -143,6 +143,7 @@ emailAddress = optional
|
2009-08-29 16:13:45 +00:00
|
|
|
####################################################################
|
|
|
|
[ req ]
|
2015-04-24 17:12:13 +00:00
|
|
|
default_bits = 2048
|
2014-04-09 06:25:44 +00:00
|
|
|
+default_md = sha256
|
2009-08-29 16:13:45 +00:00
|
|
|
default_keyfile = privkey.pem
|
|
|
|
distinguished_name = req_distinguished_name
|
|
|
|
attributes = req_attributes
|
2022-06-02 13:09:32 +00:00
|
|
|
@@ -165,17 +166,18 @@ string_mask = utf8only
|
2009-08-29 16:13:45 +00:00
|
|
|
|
|
|
|
[ req_distinguished_name ]
|
|
|
|
countryName = Country Name (2 letter code)
|
|
|
|
-countryName_default = AU
|
|
|
|
+countryName_default = XX
|
|
|
|
countryName_min = 2
|
|
|
|
countryName_max = 2
|
|
|
|
|
|
|
|
stateOrProvinceName = State or Province Name (full name)
|
|
|
|
-stateOrProvinceName_default = Some-State
|
|
|
|
+#stateOrProvinceName_default = Default Province
|
|
|
|
|
|
|
|
localityName = Locality Name (eg, city)
|
2014-04-09 06:25:44 +00:00
|
|
|
+localityName_default = Default City
|
2009-08-29 16:13:45 +00:00
|
|
|
|
|
|
|
0.organizationName = Organization Name (eg, company)
|
|
|
|
-0.organizationName_default = Internet Widgits Pty Ltd
|
|
|
|
+0.organizationName_default = Default Company Ltd
|
|
|
|
|
|
|
|
# we can do this but it is not needed normally :-)
|
|
|
|
#1.organizationName = Second Organization Name (eg, company)
|
2022-06-02 13:09:32 +00:00
|
|
|
@@ -184,7 +186,7 @@ localityName = Locality Name (eg, city
|
2009-08-29 16:13:45 +00:00
|
|
|
organizationalUnitName = Organizational Unit Name (eg, section)
|
|
|
|
#organizationalUnitName_default =
|
|
|
|
|
2012-11-09 15:29:44 +00:00
|
|
|
-commonName = Common Name (e.g. server FQDN or YOUR name)
|
2009-08-29 16:13:45 +00:00
|
|
|
+commonName = Common Name (eg, your name or your server\'s hostname)
|
|
|
|
commonName_max = 64
|
|
|
|
|
|
|
|
emailAddress = Email Address
|