aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-proxy-setup-ca
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-gns-proxy-setup-ca')
-rw-r--r--src/gns/gnunet-gns-proxy-setup-ca10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gns/gnunet-gns-proxy-setup-ca b/src/gns/gnunet-gns-proxy-setup-ca
index 72d478a50..52f4b012b 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca
+++ b/src/gns/gnunet-gns-proxy-setup-ca
@@ -2,12 +2,22 @@
2# This shell script will generate an X509 certificate for your gnunet-gns-proxy 2# This shell script will generate an X509 certificate for your gnunet-gns-proxy
3# and install it (for both GNUnet and your browser). 3# and install it (for both GNUnet and your browser).
4# 4#
5
6# TODO: We should sed the real paths to the binaries involved here.
7
5if ! which certutil > /dev/null 8if ! which certutil > /dev/null
6then 9then
7 echo "'certutil' command not found. Please install it." 10 echo "'certutil' command not found. Please install it."
8 exit 1 11 exit 1
9fi 12fi
10 13
14if ! which openssl > /dev/null
15then
16 echo "'openssl' command not found. Please install it."
17 exit 1
18fi
19
20
11echo "Generating CA" 21echo "Generating CA"
12options='' 22options=''
13while getopts "c:" opt; do 23while getopts "c:" opt; do