Skip to content

ERR_SSL_PROTOCOL_ERROR

0

Hello, I have a WordPress site managed by an Amazon Lightsail instance, for 2 months when trying to access the site I get the following error: The site cannot provide a secure connection. IP sent an invalid response. ERR_SSL_PROTOCOL_ERROR Regarding the previous error, the IP corresponds to the one configured from Amazon Lightsail as a static IP. I have performed the following actions: • Force WordPress to use HTTPS, using the Better Search Replace plugin. • Clear Amazon Lightsail, WordPress and DIVI caches. • Update the .htaccess file with the following:

BEGIN WordPress

Las directivas (líneas) entre «BEGIN WordPress» y «END WordPress» son

generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress.

Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas.

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

• When consulting the certificate, I cannot find any problem with the certificate. The error: "ERR_SSL_PROTOCOL_ERROR" has been intermittent, I don't know if it will appear again later. I want to know if there is any action that I need to take, to solve the problem definitively.

asked 4 years ago906 views
1 Answer
0

If you are using a Lightsail instance and want to use an AWS provided certificate you will have to configure your instance to be hosted behind either a CDN or Load Balancer. This is due to the fact that amazon provided certificates can only run on AWS devices i.e. you can't export the certificate for you to be able to import this to your wordpress site at the OS level.

You will however need a dns domain to be able to create a custom domain certificate but this is all available through the Lightsail portal. The following documentation should assist you.

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-distribution-custom-domains

answered 4 years ago
  • Hello! today after the page was being accessed normally, the following error appears: "ERR_CONNECTION_CLOSED", is it associated with the same thing?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.