Spring cloud: Ribbon and HTTPS

后端 未结 2 719
轮回少年
轮回少年 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:52

    We solved the zuul proxy problem now by setting

    ribbon.IsSecure=true
    eureka.instance.secureVirtualHostName=${spring.application.name}
    

    so that all services are also in the secure virtual hosts pool in com.netflix.discovery.shared.Applications. That helps the discovery process to find the instances in eureka.

    However, the Hystrix dashboard has still a similar problem

提交回复
热议问题