As a website owner (and frequent website visitor), you might have encountered the notorious ERR_SSL_PROTOCOL_ERROR at least once. This Secure Sockets Layer (SSL) error occurs when a browser fails to establish a secure connection with the website, usually due to issues with the website’s SSL certificate or its configuration or the client’s browser. The error varies and appears differently in popular browsers like Chrome, Firefox, and Microsoft Edge.
Although the main reason behind the error can be difficult to identify, there are simple ways to fix it. In this article, I’ll discuss the causes of ERR_SSL_PROTOCOL_ERROR, provide detailed steps on how to fix it for your website, and explore how this error appears differently on various browsers.
So, let’s dive in and learn how to tackle this common (yet frustrating) error.
Contents:
The ERR_SSL_PROTOCOL_ERROR is a common error that occurs when there is an issue with the SSL/TLS connection between a website and a user’s browser. This error typically occurs when the browser cannot establish a secure connection that is supported by the browser, or there is a mismatch between the browser and server settings. It can also appear when there is a misconfiguration of the website’s SSL certificate or when the browser fails to connect to an SSL-protected website.
Let’s take a look at a few examples of this error in some modern web browsers.
While ERR_SSL_PROTOCOL_ERROR varies from browser to browser, it appears like this in Chrome:
In Firefox, when the browser encounters ERR_SSL_PROTOCOL_ERROR it typically displays the following page. You’ll need to click on Advanced and then click on View Certificate to view more information about the problem.
In Microsoft Edge, the error page for this SSL issue will display the following message.
The ERR_SSL_PROTOCOL_ERROR error usually appears when there’s an issue with the SSL certificate or the HTTPS protocol, which is essential for establishing a secure connection between a website and a user’s browser. Below are the top eight most common reasons for this error to occur.
Let’s walk through the steps to troubleshoot and resolve ERR_SSL_PROTOCOL_ERROR. You’ll want to follow these solutions one by one until the secure connection error is fixed for your website.
The first step in solving the ERR_SSL_PROTOCOL_ERROR issue is to make sure that you’ve installed an SSL certificate on your website.
This error often occurs when website owners attempt to force HTTPS without having the necessary SSL certificate in place, making the website inaccessible. An SSL certificate is required to enable secure HTTPS connections between your website’s server and your visitors’ browsers.
To check if an SSL certificate is properly installed, you can do the following:
openssl s_client -servername domain.com -connect 192.168.0.1:443 2>/dev/null | openssl x509 -noout -subject -issuer -dates;
curl -vvI --silent https://domain.com 2>&1 | grep 'issuer|start date|expire date|subject'
Using OpenSSL this way allows you to set the host IP specifically, so you can check multiple hosting servers, as it may be only one server not providing a good SSL configuration to the browser.
If you’re looking for more information on this topic, you can refer to our article on how to test SSL configurations.
If your SSL certificate is installed but you’re still experiencing the ERR_SSL_PROTOCOL_ERROR, it’s possible that the SSL configuration on your web server is incorrect. To resolve this issue, review your web server’s SSL settings and ensure that they align with the recommended best practices for SSL configuration.
This typically involves:
Additionally, you’ll want to double-check that your server is configured to redirect HTTP traffic to HTTPS; this will ensure that all visitors are using a secure connection when accessing your site.
SSL certificates have expiration dates. If your certificate has expired, it will cause the ERR_SSL_PROTOCOL_ERROR to appear. To fix this issue, you’ll need to obtain a new certificate from a trusted certificate authority (CA) and install SSL on your web server.
Once the new certificate is in place, test your website again to confirm that the error has been resolved.
If the SSL certificate is valid and checking SSL configurations and expired certs didn’t resolve the issue, you’ll want to take a look at your local computer settings to see if it’s the culprit.
Ensure that your operating system’s time and date are accurately set, as incorrect values can cause authentication issues with SSL certs. This is because SSL certificates come with a predetermined expiration date, and any discrepancies in the current system time and date can interfere with the authentication process.
When establishing a secure connection, a valid time and date are always assumed, which is why it’s crucial to retrieve the correct values from your local system.
To check and update the time and date on Windows 10:
To check and update the time in macOS:
In some cases, the ERR_SSL_PROTOCOL_ERROR issue may be the result of a simple caching issue in your browser. Let’s take a look at why clearing your browser cache might resolve the issue.
By default, most modern browsers cache a plethora of information about the sites you visit, including files, text content, images and SSL. When you revisit the website, your browser retrieves the required resources from the cache instead of the site’s web server, allowing web pages to load more quickly. However, maintaining outdated caches can cause problems. If any significant changes are made to the site, your browser may not be able to display it until it retrieves the new information.
Clearing your browser cache forces it to refresh this stored information with updated data, which can help resolve various issues, including SSL errors.
The steps to clear your browser cache depend entirely on the browser you are using. For Chrome, you can follow these instructions:
Your browsing experience may be slower after clearing your cache. Wiping cache will also sign you out of most browsing sessions.
Shortcut: If you’re a macOS, use Command+Shift+Delete to access your browser’s delete browsing data menu. This key combination works on most browsers, including Google Chrome, Firefox, Edge, and Opera. For Windows users, press Ctrl+Shift+Delete.
Your browser stores an SSL cache just like it does for images and files. If a website updates its SSL cert, this caching can cause SSL connection failures because the cached version does not match the new certificate.
To troubleshoot this scenario and clear your browser’s SSL cache in Google Chrome with Windows:
You can also clear the SSL state with Manage certificates on Google Chrome:
If clearing your browser and SSL cache does not resolve the ERR_SSL_PROTOCOL_ERROR, other programs may be causing the issue. You can try temporarily disabling browser extensions, firewall, or AV software antivirus programs to see if that rectifies the issue.
Like many other website problems, the ERR_SSL_PROTOCOL_ERROR can also be caused by an error with DNS — specifically, the DNS A record pointing to the wrong hosting IP address.
This can be confirmed with your hosting provider and easily tested by using DiG:
$ dig example.com +short 10.10.10.1
Alternatively, you can also test for this with an online tool like https://toolbox.googleapps.com/apps/dig/#A/
If a DNS issue is detected, you’ll need to correct the A record from your DNS control panel.
ERR_SSL_PROTOCOL_ERROR can be a frustrating issue for both website owners and site visitors.
But it’s essential to ensure that your:
This can help mitigate errors and guarantee a secure browsing experience for users.
If you’re a Sucuri client and you’re still experiencing SSL errors after trying out these troubleshooting steps, get in touch with our support department. We’re committed to helping you keep your website safe and provide a seamless website experience for your users.