We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9de6115 commit 0a14f23Copy full SHA for 0a14f23
install_certs-21
@@ -20,11 +20,18 @@ mkdir -p /certificates
20
for cert_url in $CERT_URLS
21
do
22
cert_file="$(basename "$cert_url")"
23
+ cert_file="${cert_file%.pem}.crt"
24
cert_path="/certificates/$cert_file"
25
26
curl "$cert_url" -o "$cert_path"
27
28
# Badly formatted certs break the entire file in alpine
29
# Adds an eol char at the end of the file if not already present
30
sed -i -e '$a\' "$cert_path"
31
+
32
+ # 2nd part, install cert in ca-certificates
33
+ cp /certificates/$cert_file /usr/local/share/ca-certificates/$cert_file
34
35
done
36
37
+update-ca-certificates
0 commit comments