spring cloud gateway forward client certificate
Asked Answered
Z

0

6

I am trying to use spring-cloud-gateway for a spring-boot based service that uses ssl with client-auth.

The problem is, calling the service from a client over the api-gateway always fails with "certificate_unknown" (works fine without the gateway).

It seem that the spring-cloud-gateway not forwarding the client certificate to the backend-service.

Any ideas how to achieve this? Is this a missing feature?

thx

Zaidazailer answered 18/1, 2018 at 10:48 Comment(6)
The netty HttpClient needs to be configured to send the certificates. You can create a bean and configure it.Deguzman
@Deguzman could you please provide some link showing how to configure Netty HttpClient to send the certificates?Pelletier
I don't have any.Deguzman
This is giving me some serious trouble as well. Have there been any solutions? This seems like a troubling flaw in the SGC.Pompeii
hey @AndrewTFinnell did you ever reslove this? thanks for any infoBurgle
The example here helped me on my way: github.com/reactor/reactor-netty/issues/…Nasser

© 2022 - 2024 — McMap. All rights reserved.