Skip to content

tls: Add support for ssl peer fingerprint#5068

Merged
HofiOne merged 3 commits intosyslog-ng:masterfrom
HofiOne:Add-support-for-ssl-peer-fingerprint
Aug 27, 2024
Merged

tls: Add support for ssl peer fingerprint#5068
HofiOne merged 3 commits intosyslog-ng:masterfrom
HofiOne:Add-support-for-ssl-peer-fingerprint

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Aug 26, 2024

tls(): expose the key fingerprint of the peer in ${.tls.x509_fp} if trusted-keys() is used to retain the actual peer identity in received messages.

Fixes: #4978

Backport of #136 by @bazsi

bazsi added 3 commits August 26, 2024 11:38
…erprint

If trusted-keys() is used, the certificate fingerprint is added added
to ${.tls.x509_fp} with the same algorithm that was used to validate
trusted-keys, which is SHA1 at the moment (unfortunately, but that's
a separate PR.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
@HofiOne HofiOne merged commit 465557b into syslog-ng:master Aug 27, 2024
@HofiOne HofiOne deleted the Add-support-for-ssl-peer-fingerprint branch August 27, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add macro for certificate fingerprint

3 participants