Skip to content

Instantly share code, notes, and snippets.

@TheAngryByrd
Last active August 6, 2018 19:20
Show Gist options
  • Save TheAngryByrd/52bff5cb8ec177ba694e to your computer and use it in GitHub Desktop.
Save TheAngryByrd/52bff5cb8ec177ba694e to your computer and use it in GitHub Desktop.
Need to import the nuget certs on a linux machine to restore packages
sudo mozroots --import --machine --sync
sudo certmgr -ssl -m https://go.microsoft.com
sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
sudo certmgr -ssl -m https://nuget.org
curl https://curl.haxx.se/ca/cacert.pem > ~/cacert.pem && sudo cert-sync ~/cacert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment