gsandie online notebook

Openssl checking certs

You can check connections with:

openssl s_client -connect HOST:PORT

If you need to provide a CA pass it in with the absolute path:

openssl s_client -connect HOST:PORT -CAfile /path/to/ca

Get information about an x509 cert:

openssl x509 -in /path/to/cert -text

Remember man openssl