v1! working now. should create full PKI.

TODO: add better standalone-script support (e.g. adding clients), conf support (so they all pull their variables from the same place), etc.
This commit is contained in:
bts committed 2016-02-22 14:49:15 -05:00
1 parent d09aa3281e
commit 125919ee3a
4 files changed
+15 -7

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -e
echo "Generating chain cert files (${1})..."
cat ${rootdir}/crt/${1}.crt ${rootdir}/intermediate/crt/intermediate-chained.crt > ${rootdir}/crt/${1}-chained.crt
#cat ${rootdir}/crt/${1}.user.crt ${rootdir}/intermediate/crt/intermediate-chained.crt > ${rootdir}/crt/${1}.user-chained.crt
chmod 444 ${rootdir}/crt/${1}-chained.crt
#chmod 444 ${rootdir}/crt/${1}.user-chained.crt