Skip to content

Instantly share code, notes, and snippets.

@roopakv
Last active October 30, 2018 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roopakv/e2584df226451e68b932b296c12d45ac to your computer and use it in GitHub Desktop.
Save roopakv/e2584df226451e68b932b296c12d45ac to your computer and use it in GitHub Desktop.
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