aboutsummaryrefslogtreecommitdiff
path: root/easy-rsa/2.0/openssl.cnf
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-28 05:42:02 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-28 05:42:02 +0000
commitd56dec67dd09c8dd088d699c896e3013b5cfb2ef (patch)
treee46ed61c035631d666d5d37f42b31d3f33b4684a /easy-rsa/2.0/openssl.cnf
parentSave X509 Subject fields to environment, using the naming convention: (diff)
downloadopenvpn-d56dec67dd09c8dd088d699c896e3013b5cfb2ef.tar.xz
Change to pkitool/openssl.cnf so that calling scripts can
set the KEY_NAME environmental variable to set the "name" X509 subject field in generated certificates. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3460 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rwxr-xr-xeasy-rsa/2.0/openssl.cnf6
1 files changed, 6 insertions, 0 deletions
diff --git a/easy-rsa/2.0/openssl.cnf b/easy-rsa/2.0/openssl.cnf
index a781dda..3e4d3b3 100755
--- a/easy-rsa/2.0/openssl.cnf
+++ b/easy-rsa/2.0/openssl.cnf
@@ -74,6 +74,7 @@ stateOrProvinceName = match
organizationName = match
organizationalUnitName = optional
commonName = supplied
+name = optional
emailAddress = optional
# For the 'anything' policy
@@ -86,6 +87,7 @@ localityName = optional
organizationName = optional
organizationalUnitName = optional
commonName = supplied
+name = optional
emailAddress = optional
####################################################################
@@ -137,6 +139,9 @@ organizationalUnitName = Organizational Unit Name (eg, section)
commonName = Common Name (eg, your name or your server\'s hostname)
commonName_max = 64
+name = Name
+name_max = 64
+
emailAddress = Email Address
emailAddress_default = $ENV::KEY_EMAIL
emailAddress_max = 40
@@ -144,6 +149,7 @@ emailAddress_max = 40
# JY -- added for batch mode
organizationalUnitName_default = $ENV::KEY_OU
commonName_default = $ENV::KEY_CN
+name_default = $ENV::KEY_NAME
# SET-ex3 = SET extension number 3