Skip to content

Instantly share code, notes, and snippets.

@julianoborba
Created April 7, 2018 03:55
Show Gist options
  • Select an option

  • Save julianoborba/c6cae67607b679a58ece8554dacb4354 to your computer and use it in GitHub Desktop.

Select an option

Save julianoborba/c6cae67607b679a58ece8554dacb4354 to your computer and use it in GitHub Desktop.
https://avisi.nl/blog/2012/09/12/quick-way-to-retrieve-a-chain-of-ssl-certificates-from-a-server/
openssl s_client -host google.com -port 443 -prexit -showcerts
keytool -import -alias gca -file googleca.pem -keystore trust.jks
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment