> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Securing HTTPS configuration on Windows Server

> Securing HTTPS configuration on Windows Server

To apply the best practice HTTPS configuration on a Windows server, we can run a Powershell script written by NSM (Nasjonal Sikkerhetsmyndighet). This script will make changes to the Windows registry to enable the latest encryption algorithms and disable old and insecure algorithms and ciphers.

1. Unzip the <a href="../../../downloads/u-03_sikring_av_windows_tls.zip" download>u-03\_sikring\_av\_windows\_tls.zip</a> file. Then inside the unpacked directory, unzip the second zip file *Schannel.zip* and enter the unpacked directory again. Holding shift and right-clicking will give us a menu where we can open a command window in the current directory.

   <Note>
     The following must be done with administrator-level access.
   </Note>

   ![Zip file content -screenshot][img1]

2. Get a Powershell prompt by typing **powershell**. Then import the NSM Powershell module by entering the following commands:

   ```sh theme={null}
   Import-Module '.\\NSM TLS Tools.psm1' -force
   & '.\\Apply NSM Schannel Policy.ps1'
   ```

   ![Powershell -screenshot][img2]

3. Follow the instructions and the script will check for compliance with recommended settings, backup existing settings to a registry file, change the settings to comply, and run a final test.

To read more about the script, what it does and why check out the PDF file in the unzipped directory called *U-03\_Sikring\_av\_Windows\_TLS.pdf*.

[img1]: /media/loc/en/onsite/schannel.jpg

[img2]: /media/loc/en/onsite/powershell.jpg


## Related topics

- [Deploy SuperOffice securely onsite](/en/onsite/security/secure-deployment-guide.md)
- [Delete Window Pos Size](/en/api/reference/restful/agent/configuration_agent/delete-window-pos-size.md)
- [Save Window Pos Size](/en/api/reference/restful/agent/configuration_agent/save-window-pos-size.md)
- [Save Window Pos Sizes](/en/api/reference/restful/agent/configuration_agent/save-window-pos-sizes.md)
- [Get Window Pos Size](/en/api/reference/restful/agent/configuration_agent/get-window-pos-size.md)
- [Get My Window Pos Sizes](/en/api/reference/restful/agent/configuration_agent/get-my-window-pos-sizes.md)
