spring-cloud-gateway
spring-cloud-gateway copied to clipboard
https routing fails with gateway 2.0
Moving the issue from stack-overflow to here as I think it is a bug:
Code to reproduce the issue can be found at https://github.com/saiyedzaidi/spring-cloud-gateway-https
The project contains a simple REST controller GET URI /test that works fine with or without https. Another URI /try/1 is a proxy URI and only works over http and fails with an exception over https.
Causes Exception: java.lang.IllegalStateException: Failed to get SSL certificates at DefaultSslInfo.initCertificates(DefaultSslInfo.java:94)
Duplicates #159