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
gefragt vor 4 Monaten203 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 4 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen