-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutual TLS - Skip client certificate validation #4280
Comments
The |
For sure I need to set optional to true, but I also need to define caCertificateRefs with a valid secret so that the server will send the client certificate request in the handshake, but it will then add the Distinguished Name of the CA certificate in the certificate request. The TLS specification states the following (https://datatracker.ietf.org/doc/html/rfc5246#section-7.4.4):
I'm interested in this part of the specification because some HTTP clients (or other protocols that support TLS) refuse sending a client certificate because they check against the Distinguished Names provided by the handshake.
How can achieve the server sending the Certificate Request in the TLS handsahak with an empty list of Distinguished Names? I was able to do this with Envoy right away, so I think it should be possible with Envoy Gateway. |
@haritzsaiz which field in envoy are you referring to ? |
@arkodg Hi, forgot to reply. With this configuration, you achieve that (not defining the
|
reopening this issue, to make a decision on the definition of |
Description:
Is it possible to request a client certificate during the (mutual) TLS handshake that:
If I've understood the documentation correctly, it's only possible configuring optional mutual TLS, that is:
caCertificateRefs
.In fact, I've seen that if
caCertificateRefs
is not correcly specified, theCertificate Request
is not present in the TLS handshake. Would it be possible perphaps ifcaCertificateRefs
is null / not set, that simply no client certificate validation is performed?The text was updated successfully, but these errors were encountered: