Salta al contenuto

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.

posta 9 anni fa1,8K 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

con risposta 9 anni fa

ESPERTO

verificato 2 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!

con risposta 2 anni fa

ESPERTO

verificato 2 anni 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.