Couldn't connect to Azure VM after TLS Registry Change

Dinesh Vijayakumar 20 Reputation points
2023-02-07T12:34:56.4+00:00

Hi There,

Today, I disabled the TLS 1.0 and 1.1 access by editing the registry. When I did it, I inadvertently disabled TLS 1.2 too. Now, I cannot connect to VM since I'm getting "an internal error has occurred". Also, the website which is hosted in the VM is not responding. I'm not sure if it's because I disabled TLS 1.2. If so, can you please help how to get around this issue to gain back the access.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,125 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 75,646 Reputation points
    2023-02-07T16:56:20.1166667+00:00

    Hi,

    In the Azure portal, you can may <yourVM> -- Operations -- Run command -- RunPowerShellScript to run powershell command(s) to change the registry setting(s) so that TLS 1.2 is enabled again.

    Another method is to use Azure Serial console to connect and run PowerShell or other commands to view/edit the registry:

    Azure Serial Console for Windows

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/serial-console-windows

    Emergency Management Services Tools and Settings

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc787940(v=ws.10)

    If the above is helpful please click Accept Answer.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful