I have spring cloud gateway running in front of a few services, these services require MTLS and the certificates I need to use are rotated at regular intervals. Found some post discussing on how to configure client certificates etc but I am lost on how to update the cert on the HttpClient that is created every time the cert is rotated.
The closest post that I found was this post that talks about how to reload the http clients ssl context . I am unable to use that github library and looking at the code the logic seems pretty complicated . Since cert rotation is pretty common, wondering if there is a simpler way to update the certs on Spring Cloud Gateway
Related posts
spring cloud gateway forward client certificate
Any help is greatly appreciated
TIA