Page 1 of 1

Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Wed May 12, 2021 5:45 am
by mar1o
Hi,

When i run "certbot certonly --webroot" on Vicibox 8.1.2 i get this:

Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
An unexpected error occurred:
The client lacks sufficient authorization :: Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end ... mev1/88430 for details.


I tried to install the new certbot according to their website and also trying to update it from the opensuse repo but it doesnt update. Is there a way to install the new certbot on this version of Vicidial?

Thank you,

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Wed May 12, 2021 3:52 pm
by carpenox
you need to update to acme v2

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Fri May 14, 2021 3:03 am
by mar1o
I know that but I can not update.

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Fri May 14, 2021 5:10 am
by carpenox
I'll post the method later today

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Fri May 14, 2021 5:14 am
by mar1o
Ok. Thank you

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Fri May 14, 2021 1:19 pm
by carpenox
go to /etc/certbot and edit the cli.ini as shown below

Image

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Mon May 17, 2021 3:21 am
by mar1o
I get this error:

Do you want to run certbot now to generate a certificate? (N/y) : y
Saving debug log to /var/log/certbot/letsencrypt.log
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
An unexpected error occurred:
KeyError: 'Directory field not found'
Please see the logfiles in /var/log/certbot for more details.

CertBot was unable to verify your FQDN reaches this server and was unable
to generate a valid SSL certificate. Please check your firewall settings,
DNS entries, and Apache for any possible issues. You can either re-run this
script of run certbot --webroot certonly to test if the issue is resolved.


My certbot version is 0.15.0. And I am running Vicibox 8.1.2 VERSION: 2.14-812a
BUILD: 210429-1624

Re: Can not install certbot acme v2 on Vicidial 8.1.2

PostPosted: Mon May 17, 2021 12:02 pm
by carpenox
service firewalld stop

then run certbot

service firewalld start

good luck