SSL not working on DigitalOcean

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: How To Secure Apache with Let's Encrypt on Ubuntu 18.04 | DigitalOcean

It produced this output: run successfully all the command in the above link

My web server is (include version): Ubuntu

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is: digitalOcean

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):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 0.40.0

1 Like

Hi @mmusupp,

Welcome to the forum.

Since you mentioned you did execute all commands from the above tutorial, could you show output of the command sudo certbot certificates?

Looking at your server and logs, you did have certificate for your root domain. However, your apache webserver only listens on port 80 not port 443. You might want to check your Apache configuration and see what's wrong.

Thank you

1 Like

1 Like

Thank you!

Since you didn't have any certificates, can you try to run the tutorial again?
By the way, did you recreate your instance in the past days?


(Paying careful attention to the output in Step 4, where the certificate is requested from the certificate authority!)


No, i did not created.
first command output : sudo add-apt-repository ppa:certbot/certbot
@schoen this is coorect

1 Like

It shows that the tutorial's advice is out-of-date, but nonetheless, this is probably not the reason for your specific problem!


I see a lot of tutorials that are obsolete. I tend to mention on my site that ideas are in FORTRAN 77 or C++11 etc so that copies are usable

other posts such as sample scripts are obsoleted by Linux changes

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