ssl-debug.md
... ...
@@ -4,6 +4,9 @@
4 4
### Read cert
5 5
$ openssl s_client -host \<hostname> -port 443 | openssl x509 -noout -text
6 6
7
+### Read cert and check
8
+$ echo | openssl s_client -servername \<hostname> -connect \<hostname>:443 -CAfile /etc/ssl/cert.pem | openssl x509 -noout -text
9
+
7 10
### Dump cert chain
8 11
$ openssl s_client -showcerts -servername \<hostname> -connect \<hostname>:443
9 12