Question

Adding Let's Encrypt SSL Certificate from Security tab did not work

I added a Let’s Encrypt SSL through the security tab but from what I can tell, the server doesn’t seem like it’s open to communication on port 443.

I did:

sudo apache2ctl -S

this was the response:

AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message VirtualHost configuration: *:80 uptownecafe.com (/etc/apache2/sites-enabled/000-default.conf:4) ServerRoot: “/etc/apache2” Main DocumentRoot: “/var/www/html” Main ErrorLog: “/var/log/apache2/error.log” Mutex watchdog-callback: using_defaults Mutex rewrite-map: using_defaults Mutex default: dir=“/var/run/apache2/” mechanism=default Mutex mpm-accept: using_defaults PidFile: “/var/run/apache2/apache2.pid” Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name=“www-data” id=33 Group: name=“www-data” id=33

the non https version of the site works fine. but need SSL for ecommerce.

please advise. thank you!


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
November 12, 2019
Accepted Answer

Hello, @garfield1979

Could you please let me know if you’ve followed our tutorial for installing LE SSL - https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

What’s the exact error when you access the site via https? Also is port 443 open for incoming connections? You can also copy/paste the content of your Apache config so we can have a look.

Let me know how it goes.

Regards, Alex

This comment has been deleted

    alexdo
    Site Moderator
    Site Moderator badge
    November 12, 2019

    You might need to enter it manually instead of copy/paste it because of the “-” before dport.

    Regards, Alex

    Become a contributor for community

    Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

    DigitalOcean Documentation

    Full documentation for every DigitalOcean product.

    Resources for startups and SMBs

    The Wave has everything you need to know about building a business, from raising funding to marketing your product.

    Get our newsletter

    Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

    New accounts only. By submitting your email you agree to our Privacy Policy

    The developer cloud

    Scale up as you grow — whether you're running one virtual machine or ten thousand.

    Get started for free

    Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

    *This promotional offer applies to new accounts only.