Skip to content
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

ZeroSSL requires registration #39

Closed
uniquepurpose opened this issue Jun 21, 2021 · 5 comments
Closed

ZeroSSL requires registration #39

uniquepurpose opened this issue Jun 21, 2021 · 5 comments

Comments

@uniquepurpose
Copy link

uniquepurpose commented Jun 21, 2021

Hi,

when running renew.acme.sh we run into this error:

$ sudo /config/scripts/renew.acme.sh -d *****************************
[Mon Jun 21 13:14:14 CEST 2021] Stopping GUI service.
[Mon Jun 21 13:14:15 CEST 2021] Starting temporary ACME challenge service.
[Mon Jun 21 13:14:18 CEST 2021] Using CA: https://acme.zerossl.com/v2/DV90
[Mon Jun 21 13:14:28 CEST 2021] Create account key ok.
[Mon Jun 21 13:14:28 CEST 2021] No EAB credentials found for ZeroSSL, let's get one
[Mon Jun 21 13:14:28 CEST 2021] acme.sh is using ZeroSSL as default CA now.
[Mon Jun 21 13:14:28 CEST 2021] Please update your account with an email address first.
[Mon Jun 21 13:14:28 CEST 2021] acme.sh --register-account -m my@example.com
[Mon Jun 21 13:14:28 CEST 2021] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA
[Mon Jun 21 13:14:28 CEST 2021] Please add '--debug' or '--log' to check more details.
[Mon Jun 21 13:14:28 CEST 2021] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Mon Jun 21 13:14:29 CEST 2021] Stopping temporary ACME challenge service.
[Mon Jun 21 13:14:30 CEST 2021] Starting GUI service.

Didn't experience this in the past. Apparently acme.sh has switched to ZeroSSL by default. renew.acme.sh needs to be adjusted to use Lets Encrypt, instead of ZeroSSL.

Thanks,
Christoph

@j-c-m
Copy link
Owner

j-c-m commented Jun 21, 2021 via email

@j-c-m
Copy link
Owner

j-c-m commented Jun 21, 2021

Should be fixed now in 74a78c7 , re-run the install command to get the update.

curl https://raw.githubusercontent.com/j-c-m/ubnt-letsencrypt/master/install.sh | sudo bash

@j-c-m j-c-m closed this as completed Jun 21, 2021
@ozphb
Copy link
Contributor

ozphb commented Jun 21, 2021

there is a minor problem with the new --force option. I tested it, and got this:

:~$ sudo /config/scripts/renew.acme.sh -d example.domain.com.au [Tue Jun 22 08:02:30 AEST 2021] Stopping GUI service. [Tue Jun 22 08:02:32 AEST 2021] Starting temporary ACME challenge service. [Tue Jun 22 08:02:34 AEST 2021] Domains not changed. [Tue Jun 22 08:02:34 AEST 2021] Skip, Next renewal time is: Thu Aug 5 00:25:49 UTC 2021 [Tue Jun 22 08:02:34 AEST 2021] Add '--force' to force to renew. [Tue Jun 22 08:02:34 AEST 2021] Stopping temporary ACME challenge service. [Tue Jun 22 08:02:35 AEST 2021] Starting GUI service. :~$ sudo /config/scripts/renew.acme.sh -d example.domain.com.au --force /config/scripts/renew.acme.sh: illegal option -- - Usage: /config/scripts/renew.acme.sh -d <mydomain.com> [-d <additionaldomain.com>]

It works if I use -f

@j-c-m
Copy link
Owner

j-c-m commented Jun 21, 2021

I'll update the usage, it will only accept "-f" for force, not the long option.

@uniquepurpose
Copy link
Author

I'll update the usage, it will only accept "-f" for force, not the long option.

I just tried the whole procedure and it works with Let's Encrypt as expected. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants