Spring cloud: Ribbon and HTTPS

后端 未结 2 749
轮回少年
轮回少年 2021-02-02 01:16

We want to use HTTPS for our microservices communication based on Feign and Ribbon. The services are based on spring boot and tomcat is correctly setup. The instances are regist

2条回答
  •  耶瑟儿~
    2021-02-02 01:48

    I have the same problem trying to configure Zuul proxy to use Ribbon to connect to micro services running on https: RibbonRoutingFilter is looking at requestURI and create RestClient when run method is executed. I configured Eureka to run on http though. It is the underlying https microservice registered on Eureka cannot be accessed by Ribbon.

    http works perfectly with simple zuul routes set up.

提交回复
热议问题