Getting Certbot

I was going to get Certbot-auto typing following command in my Terminal: wget https://dl.eff.org/certbot-auto
But I couldn't do it. I got this in my Terminal:
leopoldo@localhost:/usr/local/bin$ sudo wget https://dl.eff.org/certbot-auto
--2022-03-03 18:50:42-- https://dl.eff.org/certbot-auto
Resolving dl.eff.org (dl.eff.org)... 151.101.132.201, 2a04:4e42:1f::201
Connecting to dl.eff.org (dl.eff.org)|151.101.132.201|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-03-03 18:50:42 ERROR 404: Not Found.
Did I typed wrongly?
How can I get Certbot-auto?
thanks

You can't get certbot-auto, it's obsolete.

You can get certbot at certbot.eff.org

3 Likes

Thank you

2 Likes

I see that you must install it with snap only. Isn't there any other option?
Regards

1 Like

You can use pip.

Or another acme client. ACME Client Implementations - Let's Encrypt

2 Likes

Thank you

2 Likes

Or, depending on your OS, you may be able to install a packaged version of certbot. Debian and CentOS have reasonably-current packages available.

2 Likes

But Ubuntu (20.04) does not. Wait for 22.04 or find another way/use Debian.

1 Like

Not via APT.
But ubuntu has supported snap for many years, and that method/version should work well.

3 Likes

I have ubuntu 18.04. Why not via APT?

Because the certbot package in apt is just too old.

1 Like

all clarified. Thanks

1 Like

I got Certbot by snap and it worked perfect. Anyway I created a certificate for my domain name without any problem, but I noticed that it works fine for the domain name given but not for the domain IP. How can I make the certificated obtained to be valid also for the domain IP and not only for the domain name?
Regards

1 Like

You cannot with Let's Encrypt. IP addresses are not supported and while they hope to offer it there is no specific plan for it.

2 Likes

Thank you

2 Likes

There used to be a Chinese CA offering free certificates including IP addresses at https://acme.pki.plus/acme/directory but it seems to be gone now..

It was issued by the "Quantum Secure Site DV TLS CN RSA R1" intermediate which only has a single certificate which in turn is signed by a SSL.com root.

2 Likes

Hi.
I installed properly Certbot and got certificate.
I have Apache in my server and when installing certificate I was asked by certbot what virtual host I wanted to choose. I have 2 virtual hosts.
How can I change the virtual host where I want to have the certificate installed after installation?
Regards

1 Like

You can install it in both if you want.

Just run certbot install and answer certbot's questions.

2 Likes

Thank you for your answer.

I did it, but it only asked my about the domain I wanted to install the certificate to and the domain the same. I have 2 different virtual hosts for the same domain and I want to apply the certificate for the virtual host it is not in now. Is this possible to change the vh within th same domain?

When I installed the certificate first time it ask me what vh I wanted to use to install the certificate because I have 2. I selected one of them but really I would need to instal in the other one.

Kind regards

2 Likes

You probably have to do that by hand.

3 Likes