HTTPS for Java App


Maaz
 

Hello,

We have CF 197 deployed in our environment (without HA Proxy). I am trying to push a standalone Spring boot JAR (with embedded tomcat). The app starts properly but I can't access it via https.

I have these settings for my spring boot app
server:
tomcat:
remote_ip_header: x-forwarded-for
protocol_header: x-forwarded-proto

Also
Within the app I have configured the tomcat to accept SSL connection using this sample
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/java/sample/tomcat/multiconnector/SampleTomcatTwoConnectorsApplication.java

Can someone please point out what I am missing in order to get Https working for my app.
Do I need to enable something within the CF deployment ?

Thanks
Maaz

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.