-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Let's Encrypt Certificates #526
Comments
From doing some quick research, there have been some issues with Certbot on Ubuntu Focal. I've not tested Let's Encrypt, so there probably is an issue which we have to look into. Unfortunately I'm not able to test this, so hopefully you can. There are several ways to do this, however, I think the most optimal is to take the road which Certbot recommends (https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx). Start with removing certbot: |
V33m, so I removed certbot like you said:
After that I ran the new script you attached, and got the following
So I then ran these commands from your script
And found both snapd and certbot were installed just fine so I just removed the chunk of code for installing certbot because it was already there and then re ran the script and then it worked perfectly:
|
Glad to hear that you finally got it to work. Regarding the "Install Failed" message, could you please run the following command to verify if the old code is able to check if certbot is successfully installed: In my case, I receive the message |
When I run just that I also get 0
|
Good, then we have identified the issue. Please give me the output of the two commands below:
|
Here you go:
|
Solves Issue: #526. Snapd is the recommended way to install certbot and it is a service that manages and maintains your snaps. A snap is a bundle of an app and its dependencies that works without modification across Linux distributions.
Solved in rtinst v1.8.14. |
I’ll just post here to not open another issue as I have a similar one. Your script helped me install all the snap dependencies. First with
To
Is this because I absolutely have to buy and configure a domain name? (I don't have one yet) This script won’t generate SSL certificates for my IP because Let’s Encrypt wont allow that? My OS is Ubuntu 20.04.1 as well.
It works now:) We have to run |
The issue is solved in latest rtinst v.1.8.15.
Certbot comes with a cron job or systemd timer that will renew your certificates automatically before they expire. You will not need to run Certbot again, unless you change your configuration. You can test automatic renewal for your certificates by running: |
When I try and install the Let's Encrypt's certificates, I get the error unable to generate certificates:
When I hand run the command to generate the certificate out of the script this is the error I am getting:
I did install certbot via sudo apt install certbot and then ran the script to get to the unable to generate certificates. Not sure what I am missing, this is a clean install on Ubuntu 20.04.1
The text was updated successfully, but these errors were encountered: