summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/58-create-tails-website-CA-bundle
blob: f9d3e66fe616409d2f713b403ed387636e4baaa1 (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/Lets-Encrypt-Authority-X3.pem \
   > "$BUNDLE"

chmod a+r "$BUNDLE"