diff options
Diffstat (limited to 'src/gns/gnunet-gns-proxy-setup-ca')
-rw-r--r-- | src/gns/gnunet-gns-proxy-setup-ca | 10 |
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 | |||
5 | if ! which certutil > /dev/null | 8 | if ! which certutil > /dev/null |
6 | then | 9 | then |
7 | echo "'certutil' command not found. Please install it." | 10 | echo "'certutil' command not found. Please install it." |
8 | exit 1 | 11 | exit 1 |
9 | fi | 12 | fi |
10 | 13 | ||
14 | if ! which openssl > /dev/null | ||
15 | then | ||
16 | echo "'openssl' command not found. Please install it." | ||
17 | exit 1 | ||
18 | fi | ||
19 | |||
20 | |||
11 | echo "Generating CA" | 21 | echo "Generating CA" |
12 | options='' | 22 | options='' |
13 | while getopts "c:" opt; do | 23 | while getopts "c:" opt; do |