diff --git a/.github/kokoro/steps/hostsetup.sh b/.github/kokoro/steps/hostsetup.sh index d8c726e89..64193d3d5 100755 --- a/.github/kokoro/steps/hostsetup.sh +++ b/.github/kokoro/steps/hostsetup.sh @@ -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"