# Deploy to https on Windows Server 2022

**URL:** <https://forum.radzen.com/t/deploy-to-https-on-windows-server-2022/14736>\
**Category:** Blazor Server\
**Created:** [July 17, 2023, 3:55pm UTC](https://forum.radzen.com/t/deploy-to-https-on-windows-server-2022/14736 "2023-07-17T15:55:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Viau](https://forum.radzen.com/user_avatar/forum.radzen.com/peter_viau/32/6921_2.png) [@Peter\_Viau](https://forum.radzen.com/u/Peter_Viau)\
**Post date:** [July 17, 2023, 3:55pm UTC](https://forum.radzen.com/t/deploy-to-https-on-windows-server-2022/14736/1 "2023-07-17T15:55:35Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [July 17, 2023, 4:06pm UTC](https://forum.radzen.com/t/deploy-to-https-on-windows-server-2022/14736/2 "2023-07-17T16:06:57Z")

</div>

> [@Login page redirects to login page again](http://forum.radzen.com/t/login-page-redirects-to-login-page-again/14481):
>
> Greetings, Please bear with me as this is my first post and I'm new to Blazor and Radzen. I have a Blazor Server project in a Docker container which is behind Apache2 reverse proxy, Apache has a self signed certificate as the website is accessible within local network only, the connection between Apache and the Blazor container is HTTP. During development I accessed the website using HTTP and it was working fine, but now if I try to login I get redirected to the login page again without an er…

---

<div class="post-metadata">

**Author:** ![cedpromedical](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/77aa72/32.png) [@cedpromedical](https://forum.radzen.com/u/cedpromedical)\
**Post date:** [July 18, 2023, 1:24pm UTC](https://forum.radzen.com/t/deploy-to-https-on-windows-server-2022/14736/3 "2023-07-18T13:24:25Z")

</div>

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.
