Skip to content
Snippets Groups Projects
Commit 1613ca6b authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: support custom CA certificates with npm

parent c1cbeade
No related branches found
Tags 2.1.1
No related merge requests found
......@@ -153,6 +153,10 @@ stages:
log_info "CA certificates imported in \\e[33;1m/etc/ssl/cert.pem\\e[0m"
fi
# configure for npm
echo "$certs" > /tmp/custom-ca.pem
export NODE_EXTRA_CA_CERTS=/tmp/custom-ca.pem
# import in Java keystore (if keytool command found)
if command -v keytool > /dev/null
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment