This repository has been archived on 2022-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
ssladmin/gen.intermediate.csr.sh

6 lines
338 B
Bash
Raw Normal View History

2016-02-22 01:42:47 -05:00
#!/bin/bash
set -e
echo "Generating intermediate CSR..."
2016-02-22 03:29:17 -05:00
openssl req -config ${rootdir}/intermediate/openssl.cnf -new -sha512 -subj "/CN=${ORGNAME}\(intermediate\)/O=${ORGNAME}/C=${ORGCNTRY}/ST=${ORGSTATE}/L=${ORGCITY}" -key ${rootdir}/intermediate/key/intermediate.key -out ${rootdir}/intermediate/csr/intermediate.csr > /dev/null 2>&1