Enjoy!
"A quick method to get the certificate pulled and downloaded would be to run the following command which pipes the output from the -showcerts to the x509 ssl command which just strips everything extraneous off."
For example:
openssl s_client -showcerts -connect target-url </dev/null 2>/dev/null|openssl x509 -outform PEM >certfile.pem
Reference: https://superuser.com/questions/97201/how-to-save-a-remote-server-ssl-certificate-locally-as-a-file
No hay comentarios:
Publicar un comentario