aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-05-05 12:23:41 +0000
committerNils Gillmann <ng0@n0.is>2018-05-05 12:23:41 +0000
commitd27c9b076302ac205d22c291cb0380289e4f95eb (patch)
treea6934ac472c143c3c91e503e2249308526e8ff4d /src
parentc3c9fef22fa6e4657c3fc862bad365b440ee2305 (diff)
downloadgnunet-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-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