6 lines
268 B
Bash
6 lines
268 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Generating CSR (${1})..."
|
|
openssl req -config ${rootdir}/intermediate/openssl.cnf -new -sha512 -subj "/CN=${1}/O=${ORGNAME}/C=${ORGCNTRY}/ST=${ORGSTATE}/L=${ORGCITY}" -key ${rootdir}/key/${1}.key -out ${rootdir}/csr/${1}.csr > /dev/null 2>&1
|