ssl fails in bitnami & wordpress lightsail configurations

0

How are you?

I'm currently having an issue with intermittent failures to load resources on my server. I am using the bitnami stack with a lightsail instance, and my site loads fine with https without warnings.

However, when I try to load static resources like fonts or images to display the screen, I get an "ERR_CERT_COMMON_NAME_INVALID" issue. Interestingly, this issue occurs intermittently.

The domain was purchased by searching in the "Domains" tab of Amazon Lightsail. I am using an Ipv4 static address and additionally have a public ipv6 connected.

Looking at the failing issue in Chrome's developer tools, it's not sending requests from the domain, it's sending requests from my public ipv4 address, which seems to be causing the problem.

For example, I see the following error message in the console.

GET https://<my public ipv4 address>/wp-content/something.jpg net::ERR_CERT_COMMON_NAME_INVALID

What could be the problem? Am I configuring something incorrectly?

2 Antworten
0

Hello.

This behavior may occur if the WordPress site URL or WordPress address settings are not configured correctly.
Please review your site URL settings, etc.

profile picture
EXPERTE
beantwortet vor 6 Monaten
0

Hi,

Please follow this document https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-https-on-wordpress to properly set up SSL certificates for your Lightsail instance.

Thanks.

AWS
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen