Verify that SSL caching is working

To verify that SSL caching is on, check the Session-ID across multiple sessions (i.e. resume/reconnect) – they should be the same:

openssl s_client -host HOSTNAME -port 443 -reconnect | grep 'Session-ID:'

The equivalent, using gnutls-cli should be:

gnutls-cli -V -r HOSTNAME |grep 'Session ID'

By cyberx86

Just a random guy who dabbles with assorted technologies yet works in a completely unrelated field.

Leave a comment

Your email address will not be published. Required fields are marked *