diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-05 12:23:41 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-05 12:23:41 +0000 |
commit | d27c9b076302ac205d22c291cb0380289e4f95eb (patch) | |
tree | a6934ac472c143c3c91e503e2249308526e8ff4d /src | |
parent | c3c9fef22fa6e4657c3fc862bad365b440ee2305 (diff) | |
download | gnunet-d27c9b076302ac205d22c291cb0380289e4f95eb.tar.gz gnunet-d27c9b076302ac205d22c291cb0380289e4f95eb.zip |
gns/gnunet-gns-proxy-setup-ca: check for openssl in /home/user/.guix-profile/bin:/home/user/.guix-profile/sbin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'src')
-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 |