-
Notifications
You must be signed in to change notification settings - Fork 243
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
ACME-DNS-API not pulling a certificate for itself #324
Comments
Are port 53 DNS queries against your instance working? You are listening on 1053 but will need to port forward this externally from 53 for normal DNS queries to work (you may already be doing that). I'd imagine if that doesn't work then it also won't be able to use itself to complete a DNS challenge for it's own cert. There was/used to be an http-01 challenge mode but I don't know the config to use that instead of DNS validation. |
Hi @protogenxl, I ran into a similar issue. In my case, I was running the acme-dns.service as a non-root user, and the user did not have write permission in his home directory. By default, the service uses Are you running the service as root? EDIT |
@webprofusion-chrisc yes the DNS forward on my firewall seems to working correctly
@novakele I am running the service as acme-dns and permissions appear to be correct
|
It is strange that the owner uid (992) does not resolve to the user acme-dns. Could you provide the output of Here are the permissions for my instance: root@lighthouse:~# tree -pufidg /var/lib/acme-dns/
[drwxr-xr-x acme-dns acme-dns] /var/lib/acme-dns
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/acme
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/acme/acme-v02.api.letsencrypt.org-directory
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/acme/acme-v02.api.letsencrypt.org-directory/users
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/acme/acme-v02.api.letsencrypt.org-directory/users/<EMAIL>
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/certificates
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/certificates/acme-v02.api.letsencrypt.org-directory
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/certificates/acme-v02.api.letsencrypt.org-directory/<DOMAIN>
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/locks
[drwx------ acme-dns acme-dns] /var/lib/acme-dns/api-certs/ocsp Also, here is the output of the same commands you ran (I use root@lighthouse:~# cd /var/lib/acme-dns/api-certs/
root@lighthouse:/var/lib/acme-dns/api-certs# ls -lah
total 24K
drwx------ 6 acme-dns acme-dns 4.0K Dec 23 22:19 .
drwxr-xr-x 3 acme-dns acme-dns 4.0K Dec 23 23:31 ..
drwx------ 3 acme-dns acme-dns 4.0K Dec 23 22:19 acme
drwx------ 3 acme-dns acme-dns 4.0K Dec 23 22:19 certificates
drwx------ 2 acme-dns acme-dns 4.0K Dec 23 22:19 locks
drwx------ 2 acme-dns acme-dns 4.0K Dec 23 22:19 ocsp |
See #315, I encountered similar problems. I am using the Dockerfile to run acme-dns. On my profile I've got an improved Dockerfile based on the v0.8 release. |
I'm seeing similar behavior to what has been reported here and in #315 on a new installation in FreeBSD 13.1-RELEASE-p5 and the current upstream compiled and packaged
On a subsequent restart, I additionally get
|
Confirmed still an issue in FreeBSD 13.2 and package acme-dns-1.0_12,1 No changes in behavior identified |
Might be related to this https://github.com/joohoi/acme-dns/issues/339#issuecomment-1935928848 |
I did try adding the CAA record as described on #339 with no change in behavior Removing the entire It appears that the query is coming in for the TXT record. The following appears to repeat periodically.
The requests for the TXT record come in from a variety of IP addresses, including one that reverse-resolves to outbound1g.letsencrypt.org and another to outbound2e.letsencrypt.org There is no certificate present anywhere under /var/db/acme-dns/api-certs and Edit: For clarity, the instance works through the API to have other clients renew certificates. It just isn't able to take care of its own. |
Hi
I have been working on setting up a acme-dns and have ran into an issue where the web API is not pulling it's own let's encrypt cert. I feel like I am missing something simple but I am to far in to see what is behind me.
Any help would be appreciated
halibut.juggedfish.com will be playing the part of my public dns record
and 8.8.8.8 will be playing the part of my public ip address
ERROR
CONFIG
PUBLIC DNS
The text was updated successfully, but these errors were encountered: