Windows web servers should be configured to use secure communication protocols

Bipin P 56 Reputation points
2021-03-17T11:51:44.817+00:00

I have 1 Azure VM named rabbitMQ-rm-1. This machine has Windows (Windows Server 2012 R2 Datacenter). I have installed only RabbitMQ 3.8.11 and the latest Erlang OTP 23 installers. Basically, this machine provides a scalable platform for sending and receiving messages with the help of the RabbitMQ message broker.

In the Azure Portal, I have allowed only inbound port rule 5672 port in the Network security group. I have gone through the given articles but Windows web servers should be configured to use secure communication protocols is not getting resolved.

In Advisor recommendations facing following issues

  1. All network ports should be restricted on network security groups associated with your virtual machine
  2. Windows web servers should be configured to use secure communication protocols

Can you please help me to resolve these issues? 78640-image.png

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
605 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. SaiKishor-MSFT 17,211 Reputation points
    2021-04-07T19:00:39.213+00:00

    I see our internal team has mentioned the below steps as a probable solution to this issue:

    In order for the quest configuration to work properly you need to have the Guest Configuration Extension enabled on the machine

    · https://learn.microsoft.com/en-us/azure/governance/policy/concepts/guest-configuration#deploy-requirements-for-azure-virtual-machines

    Below is the name of the definition which is pushing the extension

    · Deploy prerequisites to enable Guest Configuration policies on virtual machines

    Afterwards you need to have a managed identity which is going to authenticate the machine as it reads and writes to the Guest Configuration service.

    · Add system-assigned managed identity to enable Guest Configuration assignments

    · AND

    · Deploy the Windows Guest Configuration extension to enable Guest Configuration assignments on Windows VMs
    After you have these in place, run the remediation tasks for the non compliant resource.

    · Remediate non-compliant resources - Azure Policy | Microsoft Learn

    If you have everything ok till this point, run a policy scan on that resource as in the below docs (note that the Policy blade take 24 h to refresh, while forcing the scan you should see it in less than 20 minutes)

    · https://learn.microsoft.com/en-us/azure/governance/policy/how-to/get-compliance-data#on-demand-evaluation-scan---azure-cli

    Please let us know if following these steps help you resolve your issue. Thank you!

    1 person found this answer helpful.

  2. Michael Greene 21 Reputation points Microsoft Employee
    2021-08-04T23:11:22.327+00:00

    The following doc page was published as a result of this discussion, to help make it easier to find the actual scripts used to audit/apply built-in content packages.

    https://learn.microsoft.com/en-us/azure/governance/policy/samples/built-in-packages

    1 person found this answer helpful.

  3. Dean Johnson 6 Reputation points
    2022-05-01T10:02:41.96+00:00

    To get to the screen that people couldn't find, you go the VM -> Policies -> "Azure Security Benchmark" -> "Policies" -> "Windows web servers should be configured to use secure communication protocols" -> "Details".

    I hope this helps someone.

    1 person found this answer helpful.
    0 comments No comments

  4. SaiKishor-MSFT 17,211 Reputation points
    2021-03-17T21:29:02.61+00:00

    @Bipin P This seems to be happening when Azure detects that the server is a web server (it is likely installed as part of your application) and it checks that TLS 1.3 is being used. Your application might not be using TLS 1.3, or even be able to use 1.3. If this is the case, you can ignore this advisory. Hope this helps.

    Please let us know if you have any further questions and we will be glad to assist you further. Thank you!

    Remember:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.


  5. Morsi MASMOUDI 46 Reputation points
    2021-03-23T10:41:11.837+00:00

    I have the same issue with my windows server 2019 vm. The security center advise me to "Windows web servers should be configured to use secure communication protocols" so as i think we can not ignore the recommendation. i use the vm with a desktop software.
    The Remediation steps in Azure portal is not very clear, and i can't find the key for Winhttp for exemple.

    So please, how can we resolve the issue ?

    Thanks.