Skip to content

Instantly share code, notes, and snippets.

@ricventu
Created March 28, 2017 07:52
Show Gist options
  • Save ricventu/a77bad98094bb5aea8c6dd5de61618b6 to your computer and use it in GitHub Desktop.
Save ricventu/a77bad98094bb5aea8c6dd5de61618b6 to your computer and use it in GitHub Desktop.
manually installing certificates on linux
echo -n | openssl s_client -connect download.01.org:443 | \
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | \
sudo tee '/usr/local/share/ca-certificates/download_01_org.crt'

update-ca-certificates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment