minor, do not output the key file if using signcsr

This commit is contained in:
neil 2016-08-27 15:44:03 +08:00
parent 8371b030cf
commit 5980ebc79a

View File

@ -2086,7 +2086,11 @@ issue() {
cat "$CERT_PATH" cat "$CERT_PATH"
_info "Your cert is in $( __green " $CERT_PATH ")" _info "Your cert is in $( __green " $CERT_PATH ")"
if [ -f "$CERT_KEY_PATH" ] ; then
_info "Your cert key is in $( __green " $CERT_KEY_PATH ")" _info "Your cert key is in $( __green " $CERT_KEY_PATH ")"
fi
cp "$CERT_PATH" "$CERT_FULLCHAIN_PATH" cp "$CERT_PATH" "$CERT_FULLCHAIN_PATH"
if [ ! "$USER_PATH" ] || [ ! "$IN_CRON" ] ; then if [ ! "$USER_PATH" ] || [ ! "$IN_CRON" ] ; then