Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ezhov-da/d58b6d44542fb857c9c8b3df4542ba5f to your computer and use it in GitHub Desktop.
Save ezhov-da/d58b6d44542fb857c9c8b3df4542ba5f to your computer and use it in GitHub Desktop.
Скачивание сертификата
#https://www.shellhacks.com/get-ssl-certificate-from-server-site-url-export-download/
echo -n | openssl s_client -connect google.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ./ca.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment