What the message looks like
This site can’t provide a secure connection
cloud.beispiel.de sent an invalid response.
ERR_SSL_PROTOCOL_ERRORCommon causes
- The server answers plain HTTP on the HTTPS port (443), for example
listen 443;withoutsslin nginx. - No certificate, or no matching virtual host for the name (SNI), so the handshake fails.
- Antivirus, firewall or proxy with HTTPS inspection interferes with the connection.
- Problems with QUIC/HTTP3 or the client's local SSL cache.
- A load balancer or CDN in front connects to an origin over HTTPS that only speaks HTTP (or the other way round).
Check
- Does the port really speak TLS?
- Fetch headers over HTTPS, with error details
curl -vI https://cloud.beispiel.de/ - How is
listenset in nginx?nginx -T 2>/dev/null | grep -nE 'listen|ssl_certificate' - Which service listens on 443?
ss -ltnp | grep ':443 '
Fix
- In nginx set
listen 443 ssl;(orlisten 443 ssl http2;) and addssl_certificateandssl_certificate_key, thennginx -t && systemctl reload nginx. - Create a matching
serverblock with a certificate for every hostname, and define a default server for 443. - Check intermediate layers: align the origin protocol (HTTP or HTTPS) of the load balancer or CDN with the server.
- On the visitor's side: turn off antivirus HTTPS scanning, check the system clock, clear the SSL state in Windows, clear the cache.
- As a test, disable QUIC in the browser (
chrome://flags, Experimental QUIC protocol) and reload.
Typical scenario
After setting up a new virtual host someone writes listen 443; instead of listen 443 ssl; in nginx. Chrome reports ERR_SSL_PROTOCOL_ERROR, curl -v shows “wrong version number”, and openssl s_client receives an HTTP reply instead of a TLS handshake. With ssl on that line the connection is secure immediately.
FAQ
Does clearing the browser cache help?
Rarely. The cause is usually the server configuration or something in between. First test with curl or openssl s_client whether the server itself answers correctly.
How does it differ from ERR_SSL_VERSION_OR_CIPHER_MISMATCH?
There, server and client do speak TLS but share no common version or cipher. With ERR_SSL_PROTOCOL_ERROR the reply is already not valid TLS, or the handshake breaks off.
What does “wrong version number” mean in curl or openssl?
The client expected TLS but received something else, often plain HTTP. The pattern fits a port where TLS is not enabled, or a service that does not speak TLS at all.