s_client
Verify TLS communication
openssl s_client -connect host:portx509
Decode certificate from STDIN
echo "...base64encoded..." | base64 -d | openssl x509 -text -noout Decode certificate from file
openssl x509 -in server.crt -text -nooutVerify
Display certificate chain
openssl verify -CAfile server.crt -show_chain client.crt