Last active
October 30, 2018 05:10
-
-
Save roopakv/e2584df226451e68b932b296c12d45ac to your computer and use it in GitHub Desktop.
Add alphassl g2 intermediary to ca bundle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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