summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--openssl-ca-acf.cnf20
2 files changed, 16 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 79c5968..4d364a6 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,10 @@ PACKAGE=acf-$(APP_NAME)
VERSION=0.1.1
APP_DIST=\
- openssl* \
+ openssl*.lua \
+ openssl*.lsp \
+ openssl.roles \
+ openssl.menu
ETC_DIST=\
openssl-ca-acf.cnf
diff --git a/openssl-ca-acf.cnf b/openssl-ca-acf.cnf
index 1ffa05f..fd48c49 100644
--- a/openssl-ca-acf.cnf
+++ b/openssl-ca-acf.cnf
@@ -76,8 +76,7 @@ subjectAltName = optional
organizationalUnitName = optional
commonName = supplied
emailAddress = optional
-subjectAltName.0 = optional
-subjectAltName.1 = optional
+subjectAltName = optional
####################################################################
@@ -120,13 +119,18 @@ commonName_default =
emailAddress = Email Address
emailAddress_max = 60
-subjectAltName = Additional CN specifier (e.g DNS:www.myotherhost.com)
-subjectAltName_max = 64
-subjectAltName_default =
+# This is how you add multiple values; in this case we will
+# use multiple subjectAltNames
+
+0.subjectAltName = Alternate Name (e.g DNS:www.myotherhost.com)
+0.subjectAltName_max = 64
+0.subjectAltName_default =
+
+1.subjectAltName = Additional Alt. Name (e.g DNS:www.mythirdhost.com)
+1.subjectAltName_max = 64
+1.subjectAltName_default =
+
-subjectAltName.1 = Tertiary CN specifier (e.g DNS:www.mythirdhost.com)
-subjectAltName_max.1 = 64
-subjectAltName_default.1 =
[ req_attributes ]
challengePassword = A challenge password