7 lines
327 B
Bash
7 lines
327 B
Bash
|
#!/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
|