Skip to content

Verification of certificate SPKI and hash #7239

Answered by fffonion
jakubdyszkiewicz asked this question in Help
Discussion options

You must be logged in to vote

@jakubdyszkiewicz I think the most close feature those options are in mtls-auth plugin. If I understand correctly
verifyCertificateHash looks for the SHA-256 digest for client cert, while verifyCertificateSpki looks for
SHA-256 digest for client cert's public key (https://github.com/envoyproxy/envoy/blob/a12869fa9e9add4301a700978d5489e6a0cc0526/source/extensions/transport_sockets/tls/cert_validator/default_validator.cc#L330-L367). Those are currently not supported by the mtls-auth plugin,
it supports the subjectAltNames option in Envoy though.
There's an EE ticket planned for verifyCertificateHash equivalent, we can prioritize it if needed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guanlan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
2 participants
Converted from issue

This discussion was converted from issue #7106 on May 26, 2021 21:23.