mirror of https://github.com/openXC7/prjxray.git
Delete expired Let's Encrypt certificate.
The old `/usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt` Let's Encrypt certificate that has expired. The "best" solution seems to be to delete the certificate. This is fine because the new non-expired `/usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt` certificate is still available. See the post at https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ for more explanation. Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
This commit is contained in:
parent
f7f06896ad
commit
d0f5f4ef58
|
|
@ -16,6 +16,29 @@ echo "----------------------------------------"
|
|||
sudo apt-get remove -y cmake
|
||||
echo "----------------------------------------"
|
||||
|
||||
echo
|
||||
echo "========================================"
|
||||
echo "Update the CA certificates"
|
||||
echo "----------------------------------------"
|
||||
sudo apt-get install -y ca-certificates
|
||||
echo "----------------------------------------"
|
||||
sudo update-ca-certificates
|
||||
echo "----------------------------------------"
|
||||
|
||||
echo
|
||||
echo "========================================"
|
||||
echo "Remove the expire letsencrypt.org cert "
|
||||
echo "----------------------------------------"
|
||||
wget https://helloworld.letsencrypt.org/ || true
|
||||
echo "----------------------------------------"
|
||||
sudo rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt
|
||||
echo "----------------------------------------"
|
||||
sudo update-ca-certificates
|
||||
echo "----------------------------------------"
|
||||
wget https://helloworld.letsencrypt.org/ || true
|
||||
echo "----------------------------------------"
|
||||
|
||||
|
||||
echo
|
||||
echo "========================================"
|
||||
echo "Host adding PPAs"
|
||||
|
|
|
|||
Loading…
Reference in New Issue