Install Let's Encrypt SSL on Ubuntu 20.04

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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: protectionhub.info

I ran this command:

sudo certbot --apache

It produced this output:

Skipping bootstrap because certbot-auto is deprecated on this system.
Your system is not supported by certbot-auto anymore.
Certbot cannot be installed.
Please visit https://certbot.eff.org/ to check for other alternatives.

My web server is (include version):

The operating system my web server runs on is (include version): ubuntu 20.04

My hosting provider, if applicable, is: namecheap

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

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

1 Like

What exactly is your question?

2 Likes

I am trying to install Let's Encrypt SSL on Ubuntu 20.04

Please follow the guide on the site mentioned in the message. Don't use certbot-auto.

2 Likes

I tried all possible way but don't know where i am lacking. I am new to this.

Could you explain more what the issue is?

Can't you find the appropriate guide? Is the site https://certbot.eff.org as mentioned in the error message not clear enough? Do you need help with that site?
Or do you get an error when you enter a command? If so, which command? And what's the output?

We really need some actual information to work with.

2 Likes

Yes i did the same mentioned in the site https://certbot.eff.org/. but when i execute sudo certbot --apache command it shows "Your system is not supported by certbot-auto anymore. Certbot cannot be installed. Please visit https://certbot.eff.org/ to check for other alternatives"

1 Like

And i am not sure how to do this second step"Install snapd ". on the site https://certbot.eff.org/lets-encrypt/ubuntufocal-apache

1 Like

Hello @James40,

snap is pre-installed on Ubuntu 20.04 so if you didn't remove it you can jump to step 3.

Cheers,
sahsanu

1 Like

Not able to perform this step "sudo certbot --apache" it result the message: Skipping bootstrap because certbot-auto is deprecated on this system.
Your system is not supported by certbot-auto anymore.
Certbot cannot be installed.
Please visit https://certbot.eff.org/ to check for other alternatives.

1 Like

Please, show the output of these two commands:

ls -l $(which certbot)
ls -l /usr/bin/certbot
1 Like
ls -l $(which certbot)
-rwxr-xr-x 1 root root 77849 Jan  9 08:19 /usr/local/bin/certbot

ls -l /usr/bin/certbot
lrwxrwxrwx 1 root root 17 Jan 10 01:51 /usr/bin/certbot -> /snap/bin/certbot
1 Like

Ok, for now we are going to rename your first certbot.

mv /usr/local/bin/certbot /usr/local/bin/certbot.bak

Once renamed try again.

3 Likes

It's working now. Thanks for you help

2 Likes

I'm glad it is working now but remember to remove the certbot-auto installation and remove any crontab entries you may have added.

2 Likes

@Litbelb Potential snap errors are not related to the (deprecation of the) certbot-auto script in any way. Now, your post looks a lot like "FUD", could you perhaps share more details?

1 Like

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