Deploy to https on Windows Server 2022

I publish a Blazor Server to Windows 10,11, Server 2019 using Selfsigned Certificates without any issues.
When I try to publish to Windows Server 2022 I get the login Window and I when enter the proper user name and password and click the login button the page goes back to the login window!

hi Peter,
in addition to Enchev reply , I will advice you against using selfsigned certificates.
to avoid any problems you should use a certificate provided from some recognized authority. like Let's encrypt. they are free of charge and you can even install the autorenew every 3 months.