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
preguntada hace 4 meses203 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 4 meses
profile picture
EXPERTO
revisado hace 2 meses
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas