initial commit

This commit is contained in:
2016-02-22 01:42:47 -05:00
commit b35241f7d0
13 changed files with 381 additions and 0 deletions

6
gen.intermediate.cert.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
set -e
echo "Generating intermediate certificate..."
openssl CA -config ${rootdir}/openssl.cnf -days 3650 -extensions v3_ca -notext -md sha512 -in ${rootdir}/intermediate/csr/intermediate.csr -out ${rootdir}/intermediate/crt/intermediate.crt > /dev/null 2>&1
chmod 444 ${rootdir}/intermediate/crt/intermediate.crt