Quantcast
Channel: Powershell script to check TLS 1.2 enabled in browser - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Powershell script to check TLS 1.2 enabled in browser

$
0
0

I can have a script to check tls 1.2 enabled in registry in following locations.

• HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\DisabledByDefault is present, the value should be 0.

• HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\Enabled is present, value should be 1.

https://support.site24x7.com/portal/en/kb/articles/how-to-check-if-tls-1-2-is-enabled

$path = @(Get-ItemProperty HKLM:\SYSTEM\ControlSet001\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\Enabled)  -and @(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\DisabledByDefault)  -ErrorAction SilentlyContinueif ($null -eq $path) {  # Always place $null on the LHS'not found'}

How can i check TLS 1.2 enabled in browser (not in registry) using powershell script?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images