aboutsummaryrefslogtreecommitdiffstats
path: root/apps/CA.sh
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-07-04 21:44:16 +0000
committerRichard Levitte <levitte@openssl.org>2005-07-04 21:44:16 +0000
commitd2e0c81720c2168d27418438095e1f6fa11e3936 (patch)
treec585b00343bc5ac59f65d4881f11d1d4daaf84d2 /apps/CA.sh
parent109080ae48441256cc6702472eb5593183f1232d (diff)
downloadopenssl-d2e0c81720c2168d27418438095e1f6fa11e3936.tar.gz
The private key should never have ended up in newreq.pem.
Now, it ends up in newkey.pem instead.
Diffstat (limited to 'apps/CA.sh')
-rw-r--r--apps/CA.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/CA.sh b/apps/CA.sh
index 46e86bf94b..a0b20d85a9 100644
--- a/apps/CA.sh
+++ b/apps/CA.sh
@@ -53,15 +53,15 @@ case $i in
;;
-newcert)
# create a certificate
- $REQ -new -x509 -keyout newreq.pem -out newreq.pem $DAYS
+ $REQ -new -x509 -keyout newkey.pem -out newcert.pem $DAYS
RET=$?
- echo "Certificate (and private key) is in newreq.pem"
+ echo "Certificate is in newcert.pem, private key is in newkey.pem"
;;
-newreq)
# create a certificate request
- $REQ -new -keyout newreq.pem -out newreq.pem $DAYS
+ $REQ -new -keyout newkey.pem -out newreq.pem $DAYS
RET=$?
- echo "Request (and private key) is in newreq.pem"
+ echo "Request is in newreq.pem, private key is in newkey.pem"
;;
-newca)
# if explicitly asked for or it doesn't exist then setup the directory