I have used Eureka several times previously in HTTP (non-SSL). However, I am trying to configure the Eureka Server in Standalone mode. Unfortunately, the Server can't seem to register itself.
The Client applications are able to register without a problem.
The Server attempts to connect to http instead of https
(Using org.springframework.cloud:spring-cloud-starter-parent:Dalston.SR1)
Here is my Eureka Server config:
server:
port: 8761
transport: https
name: localhost
eureka:
instance:
nonSecurePortEnabled: false
securePortEnabled: true
securePort: ${server.port}
hostname: localhost
client:
registerWithEureka: false
fetchRegistry: false
serviceUrl:
defaultZone: https://${eureka.instance.hostname}:${eureka.instance.securePort}/eureka/
server:
waitTimeInMsWhenSyncEmpty: 5