Project: springxd
Issue XD-3257: xd-shell doesn't work with SSL proxy
After connecting to admin endpoint over HTTPS xd-shell will use plain HTTP for all further calls, which fails if HTTPS is mandatory: {code} server-unknown:>admin config server https://my-host/ Successfully targeted https://my-host/ xd:>job list Command failed org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://my-host/jobs/definitions?size=10000&deployments=true":Connection refused; nested exception is java.net.ConnectException: Connection refused {code} In above example {{my-host}} is a proxy that provides load balancing and enforces HTTPS for users. It forwards the traffic to to spring-xd-admin service REST API over regular HTTP and port 9393. Admin service is returning {{_links}} with plain HTTP because it's unaware of the network proxy. Can this be solved without employing server side HTTP->HTTPS url rewrite? Is enabling SSL in spring-xd-admin the only way?
Story points: 2