gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 03/05: update script to properly test for certtool


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 03/05: update script to properly test for certtool and to add key to all moz profiles
Date: Wed, 18 Apr 2018 16:59:39 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit 1008db2d5e9338adb08229167a4882e0a4b73f30
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Apr 18 16:23:03 2018 +0200

    update script to properly test for certtool and to add key to all moz 
profiles
---
 src/gns/gnunet-gns-proxy-setup-ca | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gns/gnunet-gns-proxy-setup-ca 
b/src/gns/gnunet-gns-proxy-setup-ca
index 692cca974..72d478a50 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca
+++ b/src/gns/gnunet-gns-proxy-setup-ca
@@ -2,9 +2,9 @@
 # This shell script will generate an X509 certificate for your gnunet-gns-proxy
 # and install it (for both GNUnet and your browser).
 #
-if ! which certtool > /dev/null
+if ! which certutil > /dev/null
 then
-  echo "'certtool' command not found. Please install it."
+  echo "'certutil' command not found. Please install it."
   exit 1
 fi
 
@@ -41,10 +41,10 @@ echo "Making private key available to gnunet-gns-proxy"
 cat $GNSCERT $GNSCANO > $GNS_CA_CERT_PEM
 
 echo "Importing CA into browsers"
-for f in ~/.mozilla/firefox/*.default/
+for f in ~/.mozilla/firefox/*.*/
 do
   if [ -d $f ]; then
-    echo "Importing CA info Firefox at $f/"
+    echo "Importing CA info Firefox at $f"
 # delete old certificate (if any)
     certutil -D -n "GNS Proxy CA" -d "$f" >/dev/null 2>/dev/null
 # add new certificate

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]