diff options
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-gns-proxy-setup-ca.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gns/gnunet-gns-proxy-setup-ca.in b/src/gns/gnunet-gns-proxy-setup-ca.in index 602aadb2a..412e53f8d 100644 --- a/src/gns/gnunet-gns-proxy-setup-ca.in +++ b/src/gns/gnunet-gns-proxy-setup-ca.in | |||
@@ -224,6 +224,16 @@ importbrowsers() | |||
224 | certutil -A -n "GNS Proxy CA" -t CT,, -d "$f" < $GNSCERT | 224 | certutil -A -n "GNS Proxy CA" -t CT,, -d "$f" < $GNSCERT |
225 | fi | 225 | fi |
226 | done | 226 | done |
227 | for f in ~/.mozilla/icecat/*.*/ | ||
228 | do | ||
229 | if [ -d $f ]; then | ||
230 | infomsg "Importing CA into Icecat at $f" | ||
231 | # delete old certificate (if any) | ||
232 | certutil -D -n "GNS Proxy CA" -d "$f" >/dev/null 2>/dev/null | ||
233 | # add new certificate | ||
234 | certutil -A -n "GNS Proxy CA" -t CT,, -d "$f" < $GNSCERT | ||
235 | fi | ||
236 | done | ||
227 | # TODO: Error handling? | 237 | # TODO: Error handling? |
228 | if [ -d ~/.pki/nssdb/ ]; then | 238 | if [ -d ~/.pki/nssdb/ ]; then |
229 | statusmsg "Importing CA into Chrome at ~/.pki/nssdb/" | 239 | statusmsg "Importing CA into Chrome at ~/.pki/nssdb/" |