spring-cloud-netflix: Zuul with ribbon routing unable to validate custom ssl certificates
In my application i want to search service with service id but my zuul is not connecting with eureka service, can any one help me out.
- when i hit http://localhost:8761/ then zuul is not showing there
- If i comment the serviceid and enable the url then it will run as per requirement
here is my application.yml for zuul
spring:
application:
name: ZUUL
server:
port: 8090
ribbon:
eureka:
enabled: true
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
zuul:
routes:
test:
path: /**
serviceId: main
# url: http://localhost:9080
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 30 (15 by maintainers)
Using URL instead of serviceId takes two different code paths as you might imagine. The HTTP Client used will be configured differently. Do you have
zuul.sslHostnameValidationEnabled=false
in your properties? Actually could you post yourapplication.properties
(or yaml)?