User Tools

Site Tools


howtos:run_a_test_client

Here are some simple commands you can use to test a SSL/TLS enabled site or service.

Simple Connect

openssl s_client -connect dr.dk:443

Test with CA Validation

openssl s_client -connect localhost:9000 -CApath /etc/grid-security/certificates

Test a SMTP server

openssl s_client -connect mail.example.com:25 -starttls smtp

Test with Displayed Certificates

openssl s_client -showcerts -connect  www.thawte.com:443

Test against an IP with SNI

openssl s_client -connect 10.10.10.5:443 -servername grayscout.net

Display Certificate SAN

openssl s_client -connect 10.10.10.5:443 -servername www.grayscout.net -showcerts </dev/null 2>/dev/null | openssl x509 -text -noout | grep -A 1 "Subject Alternative Name"
howtos/run_a_test_client.txt · Last modified: 12/07/2024 12:23 by domingo