diff --git a/system-test/integration_test.sh b/system-test/integration_test.sh index 0664cad6..cd5fb7c2 100755 --- a/system-test/integration_test.sh +++ b/system-test/integration_test.sh @@ -14,6 +14,13 @@ set -eo pipefail # Display commands being run. set -x +# Remove expired certificate; otherwise `go get` may fail. +# See https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ +# for more context. +sudo apt-get install -y ca-certificates +sudo rm -f /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt +sudo update-ca-certificates + cd $(dirname $0)/.. SERVICE_KEY="${KOKORO_KEYSTORE_DIR}/72935_cloud-profiler-e2e-service-account-key"