]> git.ipfire.org Git - ipfire-3.x.git/blob - openssl/patches/openssl-1.1.0-defaults.patch
systemd: Update to 242
[ipfire-3.x.git] / openssl / patches / openssl-1.1.0-defaults.patch
1 diff -up openssl-1.1.0-pre5/apps/openssl.cnf.defaults openssl-1.1.0-pre5/apps/openssl.cnf
2 --- openssl-1.1.0-pre5/apps/openssl.cnf.defaults 2016-04-19 16:57:52.000000000 +0200
3 +++ openssl-1.1.0-pre5/apps/openssl.cnf 2016-07-18 14:22:08.252691017 +0200
4 @@ -72,7 +72,7 @@ cert_opt = ca_default # Certificate fi
5
6 default_days = 365 # how long to certify for
7 default_crl_days= 30 # how long before next CRL
8 -default_md = default # use public key default MD
9 +default_md = sha256 # use SHA-256 by default
10 preserve = no # keep passed DN ordering
11
12 # A few difference way of specifying how similar the request should look
13 @@ -104,6 +104,7 @@ emailAddress = optional
14 ####################################################################
15 [ req ]
16 default_bits = 2048
17 +default_md = sha256
18 default_keyfile = privkey.pem
19 distinguished_name = req_distinguished_name
20 attributes = req_attributes
21 @@ -126,17 +127,18 @@ string_mask = utf8only
22
23 [ req_distinguished_name ]
24 countryName = Country Name (2 letter code)
25 -countryName_default = AU
26 +countryName_default = XX
27 countryName_min = 2
28 countryName_max = 2
29
30 stateOrProvinceName = State or Province Name (full name)
31 -stateOrProvinceName_default = Some-State
32 +#stateOrProvinceName_default = Default Province
33
34 localityName = Locality Name (eg, city)
35 +localityName_default = Default City
36
37 0.organizationName = Organization Name (eg, company)
38 -0.organizationName_default = Internet Widgits Pty Ltd
39 +0.organizationName_default = Default Company Ltd
40
41 # we can do this but it is not needed normally :-)
42 #1.organizationName = Second Organization Name (eg, company)
43 @@ -145,7 +147,7 @@ localityName = Locality Name (eg, city
44 organizationalUnitName = Organizational Unit Name (eg, section)
45 #organizationalUnitName_default =
46
47 -commonName = Common Name (e.g. server FQDN or YOUR name)
48 +commonName = Common Name (eg, your name or your server\'s hostname)
49 commonName_max = 64
50
51 emailAddress = Email Address