-
Notifications
You must be signed in to change notification settings - Fork 129
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
certrequest is failing with api-v2 #332
Comments
I used to run it like this:
Have always made my config by hand, so no detailed clues. |
Thanks, now I can figure the cause of the problem:
It seems that this version of acmetool must run as root and the webserver must have been stopped first. So the Rootless setup is not working anymore. Did I miss something or is that wanted? |
I may be off base here, but binding to low ports is restricted. Good luck. |
I see, that I should clarify: Up to now it was possible to run maybe I'm wrong, but the only way to reconcile seems to be a script like this:
|
I think the strategies have remained the same as before with v0.0.x. It also doesn't make sense to have acmetool listening on other ports (unless you are using DNS-01, for which custom hooks are needed, cf. Wiki). The symptoms you describe here seems to suggest that you have chosen a different authentication method than intended. I have tested on my own computer (Mac) that selecting Also, Ubuntu has imported the packaged version at https://launchpad.net/ubuntu/+source/acmetool/0.2.1-2, so systemd units should be working as expected. |
@CL-Jeremy Of course it makes sense to have acmetool listening on other ports. The documentation even mentions it. @kaikrueger I had the same problem and fixed it.
Note that the self-tests do funny stuff like connecting to 127.0.1.1 (not 127.0.0.1), so make sure the self-tests can successfully connect to the builtin acmetool instance of a web server, and also check if you need to specify 0.0.0.0:4402 as http-ports instead of just 4402. |
Hi @kaikrueger, thanks for posting this issue. Using acmetool myself for several years, a few weeks/months back it stopped renewing certificates (unnoticed). My acmetool's error and debug log is nearly identical to the one you posted above. I did the required upgrade to 0.2.1 because of Let's Encrypt APIv2. With that, not a single reconcile run was successful. Did you manage to run it successfully? I'd be more than happy to hear how! |
I have compile the current version of acmetool on an ubuntu18
acmetool quickstart
works fine but when I runacmetool want <domain>
I get the following error message:
In the tcpdump I can see, that noone is trying to connect to my host on port 80.
From an other host I can access to
http://<domain>/.well-known/acme-challenge/xxxxxxxxxxxxxx
.Has anybody an idea wants going wrong?
Thanks.
The text was updated successfully, but these errors were encountered: