Skip to content

how to delete ssl from my lightsail wp instance?

0

I'm new to AWS and recently went through a practice run where I associated my Lightsail WordPress instance with SSL connected to a domain name of mine associated with SquareSpace. That was just a random association that I created as a practice run, so I could make sure that I was familiar with the proper steps before associating my Lightsail WP instance with the end client domain name.

I deleted the AWS DNS Zone that was created as part of that process. So now my external domain doesn't display my Lightsail WP website. But the SSL association with my Lightsail WP instance still lingers. I think ChatGPT was under the impression that deleting the DNS Zone that was created as part of that association process would delete the SSL as well. But that didn't happen.

Seems like there should be a reasonably easy way to delete the SSL association. But I get the impression that guidance doesn't appear to be in ChatGPT's wheelhouse. Can you provide some guidance on how I could go about doing that?

asked 2 years ago486 views

2 Answers
1

Hi there,

Did you set up the SSL association on your Wordpress Instance using the website setup wizard? https://docs.aws.amazon.com/en_us/lightsail/latest/userguide/amazon-lightsail-quick-start-guide-wordpress.html#quick-start-guide-set-up-wordpress-instance-website

If so, then the ssl certificate exist on the wordpress instance itself. Please note, you don't need to remove any previous ssl association in order to rerun the wizard with a new domain.

If you still want to remove the associated certificate files, you can do so by sshing into your instance, and removing them in both the primary save location here: /opt/bitnami/apache/conf/bitnami/certs/ as well as the backup location here: /opt/bitnami/lightsail.

Hope this helps

AWS

answered 2 years ago

-1

To delete the SSL/TLS certificate associated with your Lightsail WordPress instance, you'll need to follow these steps:

  1. Sign in to the Lightsail console.
  2. In the left navigation pane, choose "Networking".
  3. Look for your WordPress instance's distribution and select it.
  4. On the distribution's management page, go to the "Custom domains" tab.
  5. In the "Certificates" section, find the SSL/TLS certificate you want to delete.
  6. Click on the ellipsis icon (⋮) next to the certificate you wish to remove.
  7. Choose "Delete" from the dropdown menu.
  8. Confirm the deletion by selecting "Yes, delete".

It's important to note that if the certificate is currently in use, you won't be able to delete it directly. In this case, you'll need to first change the custom domains of the distribution using the certificate or disable custom domains on the distribution altogether.

If you're unable to find the certificate through this process, it's possible that the SSL/TLS certificate might be attached to a Lightsail load balancer instead of directly to your WordPress instance. In that case, you would need to:

  1. Go to the "Networking" section in Lightsail.
  2. Select the load balancer associated with your WordPress instance.
  3. Choose the "Inbound traffic" tab.
  4. In the "Certificates" section, find the certificate you want to remove.
  5. Click the ellipsis icon (⋮) and select "Delete".
  6. Confirm the deletion.

Remember, deleting an SSL/TLS certificate is a permanent action and cannot be undone. Make sure you no longer need the certificate before proceeding with the deletion.
Sources
Delete unused SSL/TLS certificates from Lightsail distributions - Amazon Lightsail
Remove SSL/TLS certificates from a Lightsail load balancer - Amazon Lightsail

answered 2 years ago

EXPERT

reviewed 2 years ago

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.