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
posta 4 mesi fa203 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 4 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande