Skip to content

Visual Studio .NET Framework, This site can’t provide a secure connection (ERR_SSL_PROTOCOL_ERROR)

This is a problem with the SSL (Secure Sockets Layer) protocol, which is used to establish secure connections between a web server and a browser.

Solution that worked for me

  1. In Solution Explorer, click your project.
  2. Hit the F4 key (view properties).
  3. Copy the URL (NOT the SSL URL).
  4. Paste the URL into the Project Url on the Web Tab, Save.
  5. In Solution Explorer, click your project.
  6. Hit the F4 key (view properties).
  7. Change SSL Enabled to false.
  8. Change it back to true. There should be a new SSL URL. Copy it.
  9. Paste the new SSL URL into Project URL on Web tab. Click Create Virtual Directory.
  10. Click Override application root URL, and paste in SSL URL. Save.
Published inWindows