| 1 |
diff -up openssl-1.0.0-beta3/apps/openssl.cnf.defaults openssl-1.0.0-beta3/apps/openssl.cnf
|
| 2 |
--- openssl-1.0.0-beta3/apps/openssl.cnf.defaults 2009-04-04 20:09:43.000000000 +0200
|
| 3 |
+++ openssl-1.0.0-beta3/apps/openssl.cnf 2009-08-04 22:57:16.000000000 +0200
|
| 4 |
@@ -103,7 +103,8 @@ emailAddress = optional
|
| 5 |
|
| 6 |
####################################################################
|
| 7 |
[ req ]
|
| 8 |
-default_bits = 1024
|
| 9 |
+default_bits = 2048
|
| 10 |
+default_md = sha1
|
| 11 |
default_keyfile = privkey.pem
|
| 12 |
distinguished_name = req_distinguished_name
|
| 13 |
attributes = req_attributes
|
| 14 |
@@ -126,17 +127,18 @@ string_mask = utf8only
|
| 15 |
|
| 16 |
[ req_distinguished_name ]
|
| 17 |
countryName = Country Name (2 letter code)
|
| 18 |
-countryName_default = AU
|
| 19 |
+countryName_default = XX
|
| 20 |
countryName_min = 2
|
| 21 |
countryName_max = 2
|
| 22 |
|
| 23 |
stateOrProvinceName = State or Province Name (full name)
|
| 24 |
-stateOrProvinceName_default = Some-State
|
| 25 |
+#stateOrProvinceName_default = Default Province
|
| 26 |
|
| 27 |
localityName = Locality Name (eg, city)
|
| 28 |
+localityName_default = Default City
|
| 29 |
|
| 30 |
0.organizationName = Organization Name (eg, company)
|
| 31 |
-0.organizationName_default = Internet Widgits Pty Ltd
|
| 32 |
+0.organizationName_default = Default Company Ltd
|
| 33 |
|
| 34 |
# we can do this but it is not needed normally :-)
|
| 35 |
#1.organizationName = Second Organization Name (eg, company)
|
| 36 |
@@ -145,7 +147,7 @@ localityName = Locality Name (eg, city
|
| 37 |
organizationalUnitName = Organizational Unit Name (eg, section)
|
| 38 |
#organizationalUnitName_default =
|
| 39 |
|
| 40 |
-commonName = Common Name (eg, YOUR name)
|
| 41 |
+commonName = Common Name (eg, your name or your server\'s hostname)
|
| 42 |
commonName_max = 64
|
| 43 |
|
| 44 |
emailAddress = Email Address
|