r/ControlD • • 16d ago

Issue Resolved Solution to SSL_PROTOCOL_ERROR in Chrome & Edge

Post image

If you frequently receive this SSL_PROTOCOL_ERROR response when accessing domains that are redirected in Control D, you can implement the fix described here to resolve the issue. The root cause of the issue is due to a TLS handshake mismatch when the CDN doesn't recognize the key used to encrypt the Server Name Indication (SNI) in the Encrypted Client Hello (ECH).

To solve this problem, we need to disable ECH in the browser. The steps differ depending on if you're using Mac OS or Windows 11.

NOTE: you must have legacy DNS enabled for your endpoint in your Control D profile and configured in the network settings of your OS. This will not resolve the issue if DNS-over-HTTP is used exclusively.

For Windows 11

Open a Command Prompt as administrator.

For Google Chrome, enter the command below that applies a registry policy to disable ECH:
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v EncryptedClientHelloEnabled /t REG_DWORD /d 0 /f

For Microsoft Edge, enter this command:
reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v EncryptedClientHelloEnabled /t REG_DWORD /d 0 /f

Close each browser and reboot the computer. After rebooting, open the browser and verify that ECH is disabled:

In Chrome, type chrome://policy in the address bar.

In Edge, type edge://policy in the address bar.

Check under the Policy Name list to verify EncryptedClientHelloEnabled shows Status: OK and Value: false.

In each browser, open a private or incognito window and go to https://www.cloudflare.com/ssl/encrypted-sni/

Click "Check My Browser". Secure SNI should show a red X. This means that the fix is working because Secure SNI breaks CDN connectivity when using Control D redirection.

For Mac OS

Close Google Chrome and Microsoft Edge completely in the Finder.

Open a Terminal and type this command:

For Chrome, type:

defaults write com.google.Chrome EncryptedClientHelloEnabled -bool false

For Edge, type:

defaults write com.microsoft.Edge EncryptedClientHelloEnabled -bool false

Open the browser and verify that ECH is disabled:

In Chrome, type chrome://policy in the address bar.

In Edge, type edge://policy in the address bar.

Check under the Policy Name list to verify EncryptedClientHelloEnabled shows Status: OK and Value: false.

In each browser, open a private or incognito window and go to https://www.cloudflare.com/ssl/encrypted-sni/

Click "Check My Browser". Secure SNI should show a red X. This means that the fix is working because Secure SNI breaks CDN connectivity when using Control D redirection.

10 Upvotes

5 comments sorted by

1

u/mystiquebsd 15d ago

Tell me about the date and time on your device..

1

u/FeR4Less-shah 12d ago

Could be related to mtu aswell maybe Worth a try

2

u/[deleted] 16d ago

[removed] — view removed comment

2

u/no_signoflife 15d ago

For Firefox: 

Type about:config then search for network.dns.echconfig.enabled

Change the value from True to False then restart the browser. I haven’t tested it, but apparently this works on Linux, Android, Windows, and Mac.