Skip to content

Instantly share code, notes, and snippets.

@kloudsamurai
Last active January 11, 2017 02:26
Show Gist options
  • Save kloudsamurai/5afa295a917ae105d4eff8cd72224847 to your computer and use it in GitHub Desktop.
Save kloudsamurai/5afa295a917ae105d4eff8cd72224847 to your computer and use it in GitHub Desktop.
openssl s_client -connect owapi.net:443 </dev/null
ex +'g/BEGIN CERTIFICATE/,/END CERTIFICATE/p' <(echo | openssl s_client -showcerts -connect ) -scq > comodo-ecc-ca.cert
keytool -import -file comodo-ecc-ca.cert -alias comodo-ecc-ca -keystore truststore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment