Archive

Posts Tagged ‘bash’

OpenSSL Client Commands – Check the Contents of an SSL Certificate

March 7th, 2014 No comments

Here are a list of useful OpenSSL commands which might be useful to use in a Bash script:

Determine who issued the certificate:
$ echo | openssl s_client -connect server.com:443 2>/dev/null | openssl x509 -noout -issuer
issuer= /C=US/O=Company Inc/CN=www.server.com Read more…

Categories: SSL/TLS Tags: , ,