summaryrefslogtreecommitdiff
path: root/sign-ca.in
diff options
context:
space:
mode:
Diffstat (limited to 'sign-ca.in')
-rwxr-xr-xsign-ca.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/sign-ca.in b/sign-ca.in
index 4448be4..7a66437 100755
--- a/sign-ca.in
+++ b/sign-ca.in
@@ -68,23 +68,23 @@ fi
level_ground_for_new_ca 'signing-ca'
-CA=root-ca openssl req -new \
+CA=root-ca CA_TYPE='Root' openssl req -new \
-config '#ETCDIR#/simple-pki/ca-ssl.conf' \
-out '#ETCDIR#/simple-pki/ca/root-ca.csr' \
-keyout '#ETCDIR#/simple-pki/ca/root-ca/private/root-ca.key'
-CA=root-ca openssl ca -batch -name root_ca -selfsign \
+CA=root-ca CA_TYPE='Root' openssl ca -batch -name root_ca -selfsign \
-config '#ETCDIR#/simple-pki/ca-ssl.conf' \
-in '#ETCDIR#/simple-pki/ca/root-ca.csr' \
-out '#ETCDIR#/simple-pki/ca/root-ca.crt' \
-extensions root_ca_ext
-CA=signing-ca openssl req -new \
+CA=signing-ca CA_TYPE='Intermediate' openssl req -new \
-config '#ETCDIR#/simple-pki/ca-ssl.conf' \
-out '#ETCDIR#/simple-pki/ca/signing-ca.csr' \
-keyout '#ETCDIR#/simple-pki/ca/signing-ca/private/signing-ca.key'
-CA=root-ca openssl ca -batch -name root_ca \
+CA=root-ca CA_TYPE='Root' openssl ca -batch -name root_ca \
-config '#ETCDIR#/simple-pki/ca-ssl.conf' \
-in '#ETCDIR#/simple-pki/ca/signing-ca.csr' \
-out '#ETCDIR#/simple-pki/ca/signing-ca.crt' \