SSL certificate not valid on EC2

0

I'm trying to configure SSL for my domain by the instruction given by this article ref: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04#prerequisites . Now after doing these steps it always showing "Site's security certificate is not trusted." How can I solve this by making the certificate trusted for all user accessing the website.

  • I also followed instructions to add SSL using s self signed certificate. 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.

Bawabba
已提問 6 年前檢視次數 1078 次
2 個答案
0

You have a valid SSL certificate. However, because it is a self signed certificate (created by yourself and not by Certificate Authority) browsers don't trust it.

You have two free options:

  1. Create an Elastic Load Balancer and add a Certificate created by AWS Certificate Manager (please refer to https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html)
  2. Use a free certificate from a CA like Let's Encrypt. It is very straightforward to set up. (please refer to https://letsencrypt.org/getting-started/)

Hope that helps.

Edited by: gonzie on Feb 6, 2018 10:59 AM

gonzie
已回答 6 年前
0

Let's Encrypt led me to the right answer thanks.

Since LightSail uses Bitnami, here is what I needed to use: https://docs.bitnami.com/general/how-to/generate-install-lets-encrypt-ssl/

From the Console, just type: sudo /opt/bitnami/bncert-tool And then follow the prompts.

Thanks!

Ward
已回答 11 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南