Forum Discussion

brrrr66's avatar
brrrr66
Copper Contributor
Aug 09, 2023

Windows admin center does not automatically redirect from http to https

Hello!

Windows admin center does not automatically redirect from http to https. When installing WAC, the "redirect http to https" setting was selected. Well, that is, the redirection takes place, but first it requires authorization to http, and then it is redirected to https and again requires authorization.

How do I remove the http authorization request?

screencast:

https://drive.google.com/file/d/1JKUQY-Ek2NpQ3hYBJ8nF2obaOjBEkFTH/view?usp=sharing

 

 

$ curl -I http://192.1.1.99 

HTTP/1.1 401 Unauthorized

Content-Length: 0

WWW-Authenticate: Negotiate

WWW-Authenticate: NTLM

Date: Wed, 09 Aug 2023 07:55:38 GMT

 

$ curl -I https://192.1.1.99 

HTTP/1.0 200 Connection established

  • brrrr66's avatar
    brrrr66
    Copper Contributor
    I performed a redirect through the IIS module (IIS URL Rewrite Module 2.1). Deleted WAС, configured IIS on port 80, installed WAC, swore when installing WAС that port 80 was busy, then configured the IIS module "URL Rewrite" forwarding from http to https.

Resources