summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/58-create-tails-website-CA-bundle
blob: 900630fd6d8be9f400f317193321c0148f3f8bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

echo "Creating CA bundle for authenticating https://tails.boum.org/"

BUNDLE=/usr/local/etc/ssl/certs/tails.boum.org-CA.pem

cat /etc/ssl/certs/AddTrust_External_Root.pem \
   > "$BUNDLE"

chmod a+r "$BUNDLE"