Skip to content

Commit

Permalink
Merge pull request #35 from mithro/kokoro-letsencrypt-fix
Browse files Browse the repository at this point in the history
Delete expired Let's Encrypt certificate.
  • Loading branch information
mithro committed Oct 2, 2021
2 parents 6963c6a + 3059c47 commit bd446a5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/kokoro/steps/hostsetup.sh
Expand Up @@ -17,6 +17,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"
Expand Down

0 comments on commit bd446a5

Please sign in to comment.