Generate DER certificate
This commit is contained in:
parent
699af46e01
commit
0e3f0e2ab9
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ OPENSSL_CONF=`pwd`/openssl.cnf
|
|||
CAKEY=${PKI_DIR}/private/cakey.key
|
||||
CAREQ=${PKI_DIR}/careq.csr
|
||||
CACRT=${SHARED_DIR}/cacert.crt
|
||||
CADER=${SHARED_DIR}/cacert.der
|
||||
|
||||
SRVKEY=${SHARED_DIR}/server.key
|
||||
SRVREQ=${SHARED_DIR}/server.csr
|
||||
|
@ -120,6 +121,9 @@ case $1 in
|
|||
clean "ca"
|
||||
exit 4
|
||||
fi
|
||||
|
||||
echo $ECHO_OPTS "${GREEN}Generate DER format${COLOR_RST}"
|
||||
openssl x509 -in ${CACRT} -inform PEM -out ${CADER} -outform DER
|
||||
;;
|
||||
|
||||
"-newserver" )
|
||||
|
|
Reference in a new issue