Sergey A. Osokin
October 04, 2021 11:20AM
Hi,

hope you're doing well these days.

On Mon, Oct 04, 2021 at 07:22:02AM -0400, petecooper wrote:
> 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?

I believe it's possible to use map in this case,
https://nginx.org/en/docs/http/ngx_http_map_module.html

--
Sergey Osokin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

TLS cipher hexadecimal logging

petecooper October 04, 2021 07:22AM

Re: TLS cipher hexadecimal logging

Sergey A. Osokin October 04, 2021 11:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready