Hi,
I'm currently using HAProxy 1.6.3 in a SSL termination setup and recently
tried to add the SSL session ID to the log output.
According to the documentation I understood that using the X flag would
convert the content to readable hex format, but using this logs only garbage:
log-format sid:%{+X}[ssl_fc_session_id]
sid:<97>j<E1>#016<CB><8F>#006<98><E2><FF><D1>#177<DD>vAS#026O<F4>...
Using the hex converter instead produces the expected readable output:
log-format sid:%[ssl_fc_session_id,hex]
sid:9AF7D7689AA5C173ED0B17DD529B56D8F5C2149C7DCBFFB37A279E6C8138CB33
Is this "works as designed"?
Thx,
Peter
I'm currently using HAProxy 1.6.3 in a SSL termination setup and recently
tried to add the SSL session ID to the log output.
According to the documentation I understood that using the X flag would
convert the content to readable hex format, but using this logs only garbage:
log-format sid:%{+X}[ssl_fc_session_id]
sid:<97>j<E1>#016<CB><8F>#006<98><E2><FF><D1>#177<DD>vAS#026O<F4>...
Using the hex converter instead produces the expected readable output:
log-format sid:%[ssl_fc_session_id,hex]
sid:9AF7D7689AA5C173ED0B17DD529B56D8F5C2149C7DCBFFB37A279E6C8138CB33
Is this "works as designed"?
Thx,
Peter