HTTPS redirect using ARR for non IIS hosted site

KarlAlois 1 Reputation point
2021-08-06T21:39:48.563+00:00

Does HTTPS redirection work at all using IIS-ARR to a non-IIS hosted web site?

I am running a 4D Developer Pro Database on a Windows Server 2012 R2 which has a unique DNS-Name.
For HTTP redirection In the past I have used a reverse proxy using the IIS ARR Server Proxy Settings and a URL Rewrite Rule redirecting to my local 4D-port with the main server selected.
This is working fine.
Now I wanted to add HTTPS access again with a reverse proxy.
First I made sure that public HTTPS access was working with the SSL-certificate + private key installed in the 4D Developer Pro Database.
Next I disabled public access and tried to get the IIS-ARR-reverse proxy working by adding another URL Rewrite Rule using the condition {HTTPS}=on then redirect to my local SSL Port of the 4D Developer Pro Database.
I could nstrong textot get this to work.
Next I converted and imported the 4D- SSL-certificate to IIS and checked the "Enable SSL offloading" checkbox in the ARR Server Proxy Settings. But then I did not know how to bind the SSL-certificate to the server.
So I simply selected the Default Web Site instead of the Server machine which then allowed me to click on Bindings and enter https with my imported SSL-certificate. With the Default Web Site selected I also added a URL-Rewrite Rule to redirect HTTP to my local 4D-port.
But this also did not work.

Does HTTPS redirection work at all using IIS-ARR to a non-IIS hosted web site?

Internet Information Services
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,571 questions
{count} votes