armagedon007 / certbot-dns-beget

Other
2 stars 0 forks source link

Getting the certificate doesn't work #1

Open guru431 opened 2 years ago

guru431 commented 2 years ago

Hello! Could you provide more detailed instructions on how to use this plugin?

I installed it using these commands: git clone https://github.com/armagedon007/certbot-dns-beget.git cd certbot-dns-beget python3 setup.py install

Then I created a file with my login and password from beget.com: cat > ~/.beget.ini <<\EOF LOGIN = '' PASSWORD = '' EOF chmod 600 ~/.beget.ini

After that I try to get a certificate: certbot certonly --dns-beget --dns-beget-credentials ~/.beget.ini --dns-beget-propagation-seconds 60 -d mydomain.com -d *.mydomain.com

And I get the following error: usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: ambiguous option: --dns-beget could match --dns-beget-propagation-seconds, --dns-beget-credentials

I used to get the certificate manually. It works, but it is very inconvenient: certbot certonly --rsa-key-size 4096 --manual --preferred-challenges dns -d mydomain.com -d *.mydomain.com

These are my settings in /etc/letsencrypt/cli.ini authenticator = manual server = https://acme-v02.api.letsencrypt.org/directory webroot-path = /var/www post-hook = systemctl restart httpd text = True rsa-key-size = 4096

armagedon007 commented 2 years ago

Hello! See repo https://github.com/armagedon007/certbot This only plugin, but hi don`t work with out patching base client code.

reysonk commented 2 years ago

Hi, plugin works on latest version cerbot? Or only repo https://github.com/armagedon007/certbot ?

armagedon007 commented 2 years ago

Hi! This plugin only works with this build.