diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-17 09:36:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-17 09:40:08 +0200 |
commit | 72226d89e917d9aa5744e54e3d75ae166e12dc36 (patch) | |
tree | 754b9f0635f23190b870cdabb13089f78bd006ca /data | |
parent | c0dc0f5578df83c762f15a6073cb863ca4a6a0d8 (diff) | |
download | vyos-build-72226d89e917d9aa5744e54e3d75ae166e12dc36.tar.gz vyos-build-72226d89e917d9aa5744e54e3d75ae166e12dc36.zip |
Docker: T3911: invalidate old LetsEncrypt CA
Diffstat (limited to 'data')
-rwxr-xr-x | data/live-build-config/hooks/live/00-update-letsencrypt-root-ca.chroot | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/00-update-letsencrypt-root-ca.chroot b/data/live-build-config/hooks/live/00-update-letsencrypt-root-ca.chroot new file mode 100755 index 00000000..d27cc12c --- /dev/null +++ b/data/live-build-config/hooks/live/00-update-letsencrypt-root-ca.chroot @@ -0,0 +1,7 @@ +#!/bin/sh + +echo I: Un-trust old LetsEncrypt root +sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf +echo I: Update CA certificates +update-ca-certificates + |