]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: add ssl_fc_unique_id to fetch TLS Unique ID
authorDavid S <11235david@gmail.com>
Tue, 8 Apr 2014 22:48:47 +0000 (18:48 -0400)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Apr 2014 11:48:33 +0000 (13:48 +0200)
commitc1ad52e8f781c301f6308d27f788354b77da1610
tree44529c261e98573e2e4d22843320a87aef7c14b8
parent6a0b6bd648592e73f42fb8e7341bf984d26ba8dc
MINOR: ssl: add ssl_fc_unique_id to fetch TLS Unique ID

The TLS unique id, or unique channel binding, is a byte string that can be
pulled from a TLS connection and it is unique to that connection. It is
defined in RFC 5929 section 3.  The value is used by various upper layer
protocols as part of an extra layer of security.  For example XMPP
(RFC 6120) and EST (RFC 7030).

Add the ssl_fc_unique_id keyword and corresponding sample fetch method.
Value is retrieved from OpenSSL and base64 encoded as described in RFC
5929 section 3.
doc/configuration.txt
src/ssl_sock.c