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
posta 6 anni fa1078 visualizzazioni
2 Risposte
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
con risposta 6 anni fa
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
con risposta 11 giorni fa

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