SSL not working correctly on AWS EC2


#1

Hello,
I can really use some help! First of all, thank you for creating this amazing product! The internet needs people like you! I just got the SSL installed and it looks like its almost working:) For one the SSL does not appear as secure when using chrome. https://i.imgur.com/MC6otT6.png and for some reason, it looks like all the CSS and Js is not loading. When I browse using regular http://caralbert.com it works fine. My ssl.config has:
SSLCertificateFile /etc/letsencrypt/live/caralbert.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/caralbert.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/caralbert.com/chain.pem

Not sure what am I missing :frowning:

My domain is:
https://caralbert.com
I ran this command:
sudo ./certbot-auto --debug -v --server https://acme-v01.api.letsencrypt.org/directory certonly -d caralbert.com

It produced this output:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/caralbert.com/fullchain.pem

My web server is (include version):
Apache/2.4.33 (Amazon)

The operating system my web server runs on is (include version):
Linux 14.62-65.117.amzn1.x86_64

My hosting provider, if applicable, is:
AWS

I can login to a root shell on my machine (yes or no, or I don’t know):
YES

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
NO


#2

Certonly will not install the cert.
It will only get the cert.
Look at:
sudo ./certbot-auto certificates
and you should see the cert.


#3

Thank you for replying so quickly. Here’s the output I am getting:

Found the following certs:
Certificate Name: caralbert.com
Domains: caralbert.com
Expiry Date: 2018-11-20 05:53:52+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/caralbert.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/caralbert.com/privkey.pem


#4

Hi @nikitantra

your certificate is good and is already installed. So this part is done.

But there https://caralbert.com/ are mixed content warnings. So the page loads content via http, not https.

Use FireFox or Chrome, Ctrl + Shift + I, then open the console. There you see a lot of mixed content warnings:

http :// caralbert . com / media/main-slider/1.jpg

Change them to https.


#5

Yep, looks like its all working now! thank you very much!


#6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.