How to Remove Self Signed Certificate from Ubuntu EC2 instance.

0

I followed instructions to add SSL using s self signed certificate. Unfortunately those are not trusted and throw an error in the browser.

Then I used ACM to create a trusted Certificate and created an Elastic Load Balancer. Unfortunately, the self-signed certificate is still on the EC2 server and the browser is seeing it. How do I REMOVE the self signed certificate created in the instructions here: https://repost.aws/knowledge-center/ec2-linux-ubuntu-install-ssl-cert? Thanks for your help.

Ward
asked 4 months ago194 views
1 Answer
1
Accepted Answer

The browser will not see the certificate if your accessing the EC2 via a application oad balancer.

I would ensure you secure your security group on your EC2 and only allow the ALB access.

I suspect your still accessing the webpage directly to the EC2

profile picture
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 2 months ago
  • I think you are right. I spent more time on the Route 53 side and found that by checking "Alias" I could enter the id of the load balancer into my "A" records. I think that is the main thing that eventually solved it. The online instructions from AWS were pretty weak in that regard. Thanks for helping me focus in the right direction. I was also able to remove the self signed certificate and found the comment to disable the SSL from that misguided approach. I wish I had ready the full instructions in the certificate creation instructions before starting. Who would want a certificate that still throws an error in browsers trying to connect via SSL? Thank you.

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.

Guidelines for Answering Questions