summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 12:03:07 +0200
committerErich Eckner <git@eckner.net>2019-09-02 12:04:40 +0200
commit8402f0d5f0ee166e50b73c35c321bf0cedee632a (patch)
tree2dadf2b153be4ccdaef84da51bc639730410dcd5
parent42ed8f813c8f1c3edf57fedc6c4b48c29608af2b (diff)
downloadsimple-pki-8402f0d5f0ee166e50b73c35c321bf0cedee632a.tar.xz
website-run-through: change name of config
-rwxr-xr-xwebsite-run-through12
1 files changed, 6 insertions, 6 deletions
diff --git a/website-run-through b/website-run-through
index 9903bd6..d04ae9a 100755
--- a/website-run-through
+++ b/website-run-through
@@ -13,12 +13,12 @@ echo 01 > ca/root-ca/db/root-ca.crt.srl
echo 01 > ca/root-ca/db/root-ca.crl.srl
CA=root-ca openssl req -new \
- -config etc/ca.conf \
+ -config etc/ca-ssl.conf \
-out ca/root-ca.csr \
-keyout ca/root-ca/private/root-ca.key
CA=root-ca openssl ca -batch -name root_ca -selfsign \
- -config etc/ca.conf \
+ -config etc/ca-ssl.conf \
-in ca/root-ca.csr \
-out ca/root-ca.crt \
-extensions root_ca_ext
@@ -32,12 +32,12 @@ echo 01 > ca/signing-ca/db/signing-ca.crt.srl
echo 01 > ca/signing-ca/db/signing-ca.crl.srl
CA=signing-ca openssl req -new \
- -config etc/ca.conf \
+ -config etc/ca-ssl.conf \
-out ca/signing-ca.csr \
-keyout ca/signing-ca/private/signing-ca.key
CA=root-ca openssl ca -batch -name root_ca \
- -config etc/ca.conf \
+ -config etc/ca-ssl.conf \
-in ca/signing-ca.csr \
-out ca/signing-ca.crt \
-extensions signing_ca_ext
@@ -50,7 +50,7 @@ openssl req -new \
-keyout /tmp/nginx.key
CA=signing-ca openssl ca -batch -name signing_ca \
- -config etc/ca.conf \
+ -config etc/ca-ssl.conf \
-in /tmp/nginx.csr \
-out /tmp/nginx.crt \
-extensions server_ext
@@ -64,6 +64,6 @@ curl -Ss https://test.local --cacert ca/root-ca.crt
exit 0
openssl ca \
- -config etc/ca.conf \
+ -config etc/ca-ssl.conf \
-revoke ca/signing-ca/01.pem \
-crl_reason superseded