Skip to content

Commit 42a5897

Browse files
authored
Merge pull request #1864 from verilog-to-routing/kokoro_proxy_issue
Fix the Kokoro Let's Encrypt Certificate issue.
2 parents d58f993 + 7bd87b0 commit 42a5897

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/kokoro/steps/hostsetup.sh

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,32 @@ echo "----------------------------------------"
99
sudo apt-get remove -y cmake
1010
echo "----------------------------------------"
1111

12+
echo
13+
echo "========================================"
14+
echo "Update the CA certificates"
15+
echo "----------------------------------------"
16+
sudo apt-get install -y ca-certificates
17+
echo "----------------------------------------"
18+
sudo update-ca-certificates
19+
echo "----------------------------------------"
20+
21+
echo
22+
echo "========================================"
23+
echo "Remove the expired letsencrypt.org cert "
24+
echo "----------------------------------------"
25+
sudo rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt
26+
echo "----------------------------------------"
27+
sudo update-ca-certificates
28+
echo "----------------------------------------"
29+
wget https://helloworld.letsencrypt.org/ || true
30+
echo "----------------------------------------"
31+
32+
1233
echo
1334
echo "========================================"
1435
echo "Host adding PPAs"
1536
echo "----------------------------------------"
16-
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
37+
wget --no-check-certificate -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
1738
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
1839
echo "----------------------------------------"
1940

0 commit comments

Comments
 (0)