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
질문됨 4달 전203회 조회
1개 답변
1
수락된 답변

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
전문가
답변함 4달 전
profile picture
전문가
검토됨 2달 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠