Sunday, August 2, 2015

how to download the ssl certificate from a website?




I want to download the ssl certificate from, say https://www.google.com, using wget or any other commands. Any unix command line? wget or openssl?


Answer



I found the answer. Openssl provides it.




openssl s_client -connect ${REMHOST}:${REMPORT}



No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...