Page 1 of 1

Enable HTTPS on Application Server

PostPosted: Wed Apr 25, 2018 6:54 am
by ayadav1
Hi,

I am trying to enable HTTPS for my web site but could not get it done.
I had tried implementation for below source.

https://wiki.servoy.com/display/DOCS/Ne ... d+Settings

I have a scenario and that is I have 2 server.

Home screen is coming from IIS server and then internal pages which comes from Servoy is handling by Tomcat server.
I have enabled the HTTPS for IIS somehow but at Tomcat end it's not working. It's giving an error "Request cannot be completed. It's taking too long time.".

If anyone has setup SSL and redirected web site to HTTPS with this scenario then please help me out to resolve this issue.

Thanks in advance!

Abhishek

Re: Enable HTTPS on Application Server

PostPosted: Mon Apr 30, 2018 9:03 am
by fuchstaenzer
Hi,

let me first confess that I'm not the greatest webserver or HTTPS guru on earth... ;-)

Recently I was able to get a similar scenario up and running after struggeling with it for some time.

I wanted to set up two java based applications which use their own web servers (youtrack and gitblit) behind an IIS (8.5) while using Let's encrypt SSL certificates on the IIS.
Configuring the IIS as a "reverse proxy" was not that straight forward as I'd expected and most google hits just didn't work

what finally worked (for me) was
- following this: https://www.jetbrains.com/help/youtrack ... ation.html
- but ommitting the part "Application Request Routing" - 'm just using the URL rewrite module
- adding the following server variables to the URL rewrite module of the website
HTTP_X_FORWARDED_HOST
HTTP_X_FORWARDED_SCHEME
HTTP_X_FORWARDED_PROTO

My IIS now accepts incoming HTTPS requests and forwards them as plain HTTP to the java webservers.

hope this helps
Joachim