45 lines
1.6 KiB
Diff
45 lines
1.6 KiB
Diff
|
diff -up openssl-1.0.0-beta3/apps/openssl.cnf.defaults openssl-1.0.0-beta3/apps/openssl.cnf
|
||
|
--- openssl-1.0.0-beta3/apps/openssl.cnf.defaults 2009-04-04 20:09:43.000000000 +0200
|
||
|
+++ openssl-1.0.0-beta3/apps/openssl.cnf 2009-08-04 22:57:16.000000000 +0200
|
||
|
@@ -103,7 +103,8 @@ emailAddress = optional
|
||
|
|
||
|
####################################################################
|
||
|
[ req ]
|
||
|
-default_bits = 1024
|
||
|
+default_bits = 2048
|
||
|
+default_md = sha1
|
||
|
default_keyfile = privkey.pem
|
||
|
distinguished_name = req_distinguished_name
|
||
|
attributes = req_attributes
|
||
|
@@ -126,17 +127,18 @@ string_mask = utf8only
|
||
|
|
||
|
[ 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)
|
||
|
+localityName_default = Default City
|
||
|
|
||
|
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)
|
||
|
@@ -145,7 +147,7 @@ localityName = Locality Name (eg, city
|
||
|
organizationalUnitName = Organizational Unit Name (eg, section)
|
||
|
#organizationalUnitName_default =
|
||
|
|
||
|
-commonName = Common Name (eg, YOUR name)
|
||
|
+commonName = Common Name (eg, your name or your server\'s hostname)
|
||
|
commonName_max = 64
|
||
|
|
||
|
emailAddress = Email Address
|