Skip to content

Can I keystore error block both http and https when using aws lightsail instance

0

I am altering the keystore and I cannot access my static ip without using a ssh connection. I can understand https connection having no certificate authorization service, so this can be block. Is there a reason why it is blocking http? Or is there a problem with my static ip?

asked 2 years ago113 views

1 Answer
0
Accepted Answer

Yes, an error in the keystore could block both HTTP and HTTPS traffic, especially if the web server (e.g., Apache, Nginx) is misconfigured while trying to handle the keystore changes. This can happen if the server fails to start properly after altering the keystore, potentially blocking both protocols. However, the static IP itself is unlikely to be the cause unless there is a network misconfiguration or incorrect routing.
Ps: Even though HTTP itself doesn’t use SSL certificates, issues with the keystore or SSL/TLS configuration (like misconfigured redirects or web server binding) could indirectly cause both HTTP and HTTPS to be blocked.
Things to check:

  • Ensure the web server is properly configured to listen on both port 80 (HTTP) and port 443 (HTTPS).
  • Confirm that the Lightsail firewall allows traffic on both HTTP (port 80) and HTTPS (port 443).
  • Review the web server logs to identify any errors related to the keystore or SSL configuration.
  • Test connectivity with a tool like curl to check if both ports are accessible.

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Is the best course of action to reset my keystore to the old one (provided by linux) and retest the connectivity?

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.