TLS cipher hexadecimal logging

petecooper nginx-forum at forum.nginx.org
Mon Oct 4 11:22:02 UTC 2021


Hello.

Per the documentation:

> $ssl_cipher
> returns the name of the cipher used for an established SSL connection.

This means `$ssl_cipher` returns e.g `TLS_CHACHA20_POLY1305_SHA256`.
Is it possible to return the corresponding hex value e.g. `0x1303` instead?

Thank you, and best wishes.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292525,292525#msg-292525



More information about the nginx mailing list