[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Fix make-ssl-cert script to output private key and cert in top-level dir.
commit 3f8641e9d16a54dbf806e97e77c5a279434fd3a0
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Sat Nov 16 11:28:06 2013 +0000
Fix make-ssl-cert script to output private key and cert in top-level dir.
---
scripts/make-ssl-cert | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/make-ssl-cert b/scripts/make-ssl-cert
index c055fa7..77fd728 100755
--- a/scripts/make-ssl-cert
+++ b/scripts/make-ssl-cert
@@ -31,7 +31,7 @@ while [ -h "$THIS_FILE" ]; do
done
THIS_PATH="$( cd -P "$( dirname "$THIS_FILE" )" && pwd )"
-REPO_PATH=${THIS_PATH%%/maint}
+REPO_PATH=${THIS_PATH%%/scripts}
function usage () {
printf "Usage: %s\n\n" $NAME
@@ -54,4 +54,6 @@ openssl x509 -req -days 365 -in server.csr -signkey privkey.pem -out cert
test -f "privkey.nopasswd" && rm -f privkey.nopasswd
test -f "privkey" && rm -f privkey
test -f "server.csr" && rm -f server.csr
-echo "Done. Please retrieve the files from $REPO_PATH"
+
+printf "Done. Your private key was saved in ${REPO_PATH}/privkey.pem \n"
+printf "and your certificate is in ${REPO_PATH}/cert \n"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits