Skip to content

Instantly share code, notes, and snippets.

@roopakv
Last active October 30, 2018 05:10
Embed
What would you like to do?
Add alphassl g2 intermediary to ca bundle
# Related issue: https://goo.gl/ieghhe
sudo wget https://secure.globalsign.com/cacert/gsalphasha2g2r1.crt -O /usr/share/ca-certificates/alphasslg2.crt
sudo openssl x509 -in /usr/share/ca-certificates/alphasslg2.crt -inform der -out /usr/share/ca-certificates/alphasslg2.pem -outform PEM
sudo echo 'alphasslg2.pem' >> /etc/ca-certificates.conf
sudo update-ca-certificates
# Telling yarn to use this new cert
yarn config set cafile '/etc/ssl/certs/ca-certificates.crt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment