projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need to cast away the const
[oweals/openssl.git]
/
apps
/
CA.sh
diff --git
a/apps/CA.sh
b/apps/CA.sh
index 46e86bf94bf95a45437028b2ff005a55462fa9b6..a0b20d85a97546a67bebbccdce40b3947c7e00fa 100644
(file)
--- a/
apps/CA.sh
+++ b/
apps/CA.sh
@@
-53,15
+53,15
@@
case $i in
;;
-newcert)
# create a certificate
;;
-newcert)
# create a certificate
- $REQ -new -x509 -keyout new
req.pem -out newreq
.pem $DAYS
+ $REQ -new -x509 -keyout new
key.pem -out newcert
.pem $DAYS
RET=$?
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
;;
-newreq)
# create a certificate request
- $REQ -new -keyout new
req
.pem -out newreq.pem $DAYS
+ $REQ -new -keyout new
key
.pem -out newreq.pem $DAYS
RET=$?
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
;;
-newca)
# if explicitly asked for or it doesn't exist then setup the directory