How to install certbot without init domain

i need install certbot. Please help.

I used to:

./certbot-auto -n --install-only # this is now deprached, i canot use this

I need use LIKE this:

./certbot -n --install-only # this is not working for failing, bud not contains domain foun on vhost, , i canot use this

I must use:

certbot --apache --non-interactive --agree-tos --domains example.com --email webmaster@example.com # working but i canot use this

But i must write exist domain.
I need install without init domain (install-only).

How to install certbot without domain?

I do not want to install certbot via snap.
I want use CentOS 7 only.

Thanks you very much.

Depending on the O/S, you would install certbot like you install most other programs:
Something more like this (if you use APT):
apt-get install certbot

When you call certbot (it must have already been installed); and will try to obtain a cert for you.

1 Like

Thanks you.

I fix it with this:

./certbot-auto -n --install-only

replace for this:

yum install yum-utils epel-release certbot

And working fine.

2 Likes

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