-
Notifications
You must be signed in to change notification settings - Fork 39
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
Issue with AccesValidationPlugin HasClientCertValidator #876
Comments
Since i open the issue, i manager to have GatewayEvent on request, the client cert part is empty. Using curl directly on a worker i get the folowing the handshake log {code}
If i am wright It seems that the worker doesn't ask for the ClientCert. |
Hello @Luc-Bonade my first guess is that you did not enable mtls on your otoroshi instance. It is not enabled by default as it makes the TLS handshake way heavier. Just add in your env :
|
@mathieuancelin, for other users who may have the same issue, adding the two environnement variable solve my issue. Thanks |
It seems there is an issue when using "cp:otoroshi.plugins.clientcert.HasClientCertValidator" with Otoroshi 1.5.0-alapha.18.
When I configurer my Service Descriptor with
Evry query to the service i get the folowing answer :
It append on excluded or not path and with and without certificat.
I first try the mTLS AccesValidator with Otoroshi 1.5.0.alpha.14, and I had à similar issue with the slight différence that using excluded pattern disable entirely the AccesValidator. As it's a behavior on an old version it may be irrevelant but usefull for the issue analysis.
Of course the service is exposed by Otoroshi on htttps.
The text was updated successfully, but these errors were encountered: