Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why is there ERR_SSL_PROTOCOL_ERROR?

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces why ERR_SSL_PROTOCOL_ERROR appears. The introduction in this article is very detailed and has certain reference value. Interested friends must read it!

Many webmasters may encounter an error code prompt of "ERR_SSL_PROTOCOL_ERROR" when installing and deploying SSL Certificates in Nginx. What causes this error code to appear? The following is a detailed answer for everyone.

This problem occurs, and it is estimated that most of it appears in the configuration of Nginx. The core reason for this problem is that your configuration does not enable SSL modules.

Clearly configuration code is written according to the online configuration, why error? This error is due to a problem with the Nginx version.

Prior to Nginx version 1.15, we configured HTTPS services as follows.

server;

listen 443;

server_name Web site domain name;

ssl on;

ssl_certificate SSL Certificates;

ssl_certificate_key SSL Certificates private key;

ssl_ciphers encryption algorithm;

ssl_protocols encryption protocol;

ssl_prefer_server_ciphers on;

However, if this configuration is wrong in Nginx version 1.15, the system will report an error when starting Nginx, because SSL ON configuration is no longer supported and needs to be deleted. However, when you delete that code, restart Nginx and you will find that the browser will appear " ERR_SSL_PROTOCOL_ERROR" error when visiting the page.

So in Nginx version 1.15, we should do the following configuration:

server

listen 443 ssl;

server_name Web site domain name;

ssl_certificate SSL Certificates;

ssl_certificate_key SSL Certificates private key;

ssl_ciphers encryption algorithm;

ssl_protocols encryption protocol;

ssl_prefer_server_ciphers on;

After restarting Nginx, our HTTPS service is normal.

The above is why ERR_SSL_PROTOCOL_ERROR appears all the content, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report