Skip to content


Browse files Browse the repository at this point in the history
fix(profiler): workaround certificate expiration issue in integration…
… tests (#4955)

Let's Encrypt CA certification expiration is causing integration tests to fail.
This commit works around this problem by removing the problematic certificate.

  • Loading branch information
amchiclet committed Oct 7, 2021
1 parent 25cd7a1 commit de9e465
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions profiler/kokoro/
Expand Up @@ -28,6 +28,13 @@ set -eo pipefail
# Display commands being run.
set -x

# Remove expired certificate; otherwise `go mod download` may fail.
# See
# 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)/..

export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_KEYSTORE_DIR}/72935_cloud-profiler-e2e-service-account-key"
Expand Down

0 comments on commit de9e465

Please sign in to comment.