• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forwarded to devs BUG: SSL redirect loop Net Core

AaronUH

New Pleskian
Username:

TITLE

BUG: SSL redirect loop Net Core

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Ubuntu 22.01.1, Plesk 18.0.46

PROBLEM DESCRIPTION

It looks like there is a bug with the new Net Core extension, where the SSL setting is using the HTTP prefix:
1663003269917-png.21511

The SSL part should be starting the webapp with the HTTPS prefix not HTTP prefix, this is causing any app which uses the "app.UseHttpsRedirection()" or has a HTTPS redirect to have a redirect loop.

STEPS TO REPRODUCE

Add a net core site, enable app.UseHttpsRedirection() (or any kind of HTTP -> HTTPS redirect) at application level

Install a SSL certificate through Plesk

Attempt to load the website

ACTUAL RESULT

You get a 302 infinite redirect loop

EXPECTED RESULT

HTTPS to be passed through for end-to-end SSL

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Developers can't reproduce the issue and suggest you contact Plesk Support Team to check the issue directly on your server.
 
Ok, I will do that.

However, all they need to do is install an empty Umbraco CMS with the above configuration and it will occur.
 
Back
Top