Keywords: WordPress - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bndiagnostic ID: 9a2fbd7d-ffd9-55c5-2a53-134e724c8778
bndiagnostic output:
? Apache: Found possible issues
? Wordpress: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/installer/faq/linux-faq/administration/increase-memory-linux/
Description:
Hey There - I have created a wordpress site on lightsail. Originally, it was created as a single stand alone server.
I used bncert-tool to create the ssl certificates. I also force http to https. This is all working without exception on the instance thru the domain name.
it’s since become a bigger site and so I have had to add instances and a load balancer in lightsail.
I created the new instances from a snapshot of the existing instance (including the bncert-tool generated certificates). The instances are fine and i can log into them no issues via https (i.e. from the domain or the ip addresses of the instances) they are also showing up as healthy targets in my LB (i’m using a custom health check against an empty health.html file).
In the LB, i have added the certificate from Amazon and enabled force http to https.
However, I can’t open anything thru the LB. I get ERR_TOO_MANY_REDIRECTS and also warnings the my connection isn’t private and there are certificate errors.
I believe this is due to the fact that i used bncert-tool to create the initial certificae on the original instance. I then snapshotted that instance (including the bncert-tool generated certificates on the instance) and created the new instances from this snapshot.
How do i fix this certificate conflict? is it due to the bncert-tool certificates and what do i need to do get this working thru the load balancer?
Thanks!
O