- Newest
- Most votes
- Most comments
The issue you're experiencing with your WordPress site on Lightsail not being able to connect to HTTPS resources could be due to several factors. Here are some potential causes and solutions to consider:
-
SSL Certificate: If your SSL certificate has expired or is misconfigured, it can cause HTTPS connections to fail. You might want to check the status of your SSL certificate and consider renewing or reconfiguring it.
-
WordPress Version: If you're running an older version of WordPress (prior to version 6), it may contain incompatible software and dependencies that prevent proper HTTPS functionality. In this case, you should consider creating a new WordPress instance from the Lightsail console with the latest version and migrating your website to it.
-
Firewall Settings: Although you mentioned that the Lightsail networking tab allows outbound HTTP connections, double-check that the firewall rules are correctly configured to allow both inbound and outbound HTTPS traffic (port 443).
-
DNS Configuration: Ensure that your DNS records are correctly set up and pointing to the right IP address. Sometimes, DNS propagation issues can cause connection problems.
-
SSL Plugin Configuration: Since you mentioned using Jetpack for SSL, there might be a configuration issue with the plugin. Try disabling Jetpack temporarily and use a different SSL solution, such as the Really Simple SSL plugin, to see if it resolves the issue.
-
Server-side Issues: There could be server-side configuration problems preventing HTTPS connections. You may need to check the server's SSL/TLS settings and ensure that the necessary protocols are enabled.
-
Network Issues: Although less likely, there could be network-level problems affecting HTTPS connections. Try accessing the site from different networks to rule this out.
If none of these solutions work, you might want to consider creating a new Lightsail WordPress instance and migrating your content to it. This approach would ensure you're working with the latest, most compatible version of WordPress and its dependencies.
Remember to back up your data before making any significant changes to your WordPress installation or Lightsail instance.
Sources
Resolve WordPress setup errors on Lightsail - Amazon Lightsail
Secure your Lightsail WordPress instance with free Let's Encrypt SSL certificates - Amazon Lightsail
Community | Securing Wordpress on Lightsail: Lock Down Your Server
Hi,
Thank you for reaching out, could you try to reboot the instance and see if you can regain network access, thank you.
I've rebooted the instance and https traffic still doesn't work.
Firewall Settings: Although you mentioned that the Lightsail networking tab allows outbound HTTP connections, double-check that the firewall rules are correctly configured to allow both inbound and outbound HTTPS traffic (port 443).
Relevant content
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 5 months ago
I can ping acme-v02.api.letsencrypt.org with no issue, but when I run "curl -v https://acme-v02.api.letsencrypt.org/directory" it times out. The local firewall isn't blocking anything.