diff options
author | Wojtek Kosior <koszko@koszko.org> | 2023-09-08 17:04:38 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2023-09-09 15:54:48 +0200 |
commit | 7276d8e6ae494bb7ab85c1cdfa2917e3b889468d (patch) | |
tree | 6fea20b60ce604555335f977713d9ac0b3bd6299 /fake-client-setup-mounts.sh | |
parent | 18da556c5cb0234a4c1ad3df0b263a452db2ebf1 (diff) | |
download | koszko-org-server-7276d8e6ae494bb7ab85c1cdfa2917e3b889468d.tar.gz koszko-org-server-7276d8e6ae494bb7ab85c1cdfa2917e3b889468d.zip |
Make TLS functional
Enable letsencrypt certificates in httpd while making all daemons fall back to
self-issued certs when /etc/letsencrypt/live is unpopulated.
Diffstat (limited to 'fake-client-setup-mounts.sh')
-rwxr-xr-x | fake-client-setup-mounts.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fake-client-setup-mounts.sh b/fake-client-setup-mounts.sh index 9ad1e76..f2e5866 100755 --- a/fake-client-setup-mounts.sh +++ b/fake-client-setup-mounts.sh @@ -10,6 +10,7 @@ set -e SHELL_TO_USE="$1" -mount --bind hosts /etc/hosts; +mount --bind hosts /etc/hosts +mount --bind test-ca-certificates.crt /etc/ssl/certs/ca-certificates.crt mount -t tmpfs dummy /var/run/nscd 2>/dev/null || true; unshare "$SHELL_TO_USE" |