aboutsummaryrefslogtreecommitdiff
path: root/easy-rsa/openssl.cnf
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-09-26 07:40:02 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-09-26 07:40:02 +0000
commit3c7f2f553be4b3ba9412c1b3f64a258c469d78f4 (patch)
tree9d58836b0f1eade372de7ce15c41d6555d55ef21 /easy-rsa/openssl.cnf
parentThis is the start of the BETA21 branch. (diff)
downloadopenvpn-3c7f2f553be4b3ba9412c1b3f64a258c469d78f4.tar.xz
version 2.1_beta1
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@581 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'easy-rsa/openssl.cnf')
-rwxr-xr-x[-rw-r--r--]easy-rsa/openssl.cnf8
1 files changed, 7 insertions, 1 deletions
diff --git a/easy-rsa/openssl.cnf b/easy-rsa/openssl.cnf
index 270b069..7fedebe 100644..100755
--- a/easy-rsa/openssl.cnf
+++ b/easy-rsa/openssl.cnf
@@ -1,3 +1,5 @@
+# For use with easy-rsa version 2.0
+
#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
@@ -60,7 +62,7 @@ preserve = no # keep passed DN ordering
# A few difference way of specifying how similar the request should look
# For type CA, the listed attributes must be the same, and the optional
# and supplied fields are just that :-)
-policy = policy_match
+policy = policy_anything
# For the CA policy
[ policy_match ]
@@ -136,6 +138,10 @@ emailAddress = Email Address
emailAddress_default = $ENV::KEY_EMAIL
emailAddress_max = 40
+# JY -- added for batch mode
+organizationalUnitName_default = $ENV::KEY_OU
+commonName_default = $ENV::KEY_CN
+
# SET-ex3 = SET extension number 3
[ req_attributes ]