mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 12:55:48 +03:00
[GH-ISSUE #172] tls = "letsencrypt" and acme-dns.service #68
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lateagain on GitHub (Jul 10, 2019).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/172
Had a problem enabling ssl with tls = "letsencrypt" combined with the limited user service.
Followed the README to run as a service with user acme-dns and it only worked when run in the foreground. (could do with some logging for the certificate request).
Used lsof -p <pid of acme-dns> to see what the differences were.
The cwd for the service is "\" and it can't create the api-certs directory there.
Fixed by adding "WorkingDirectory=~" to the acme-dns.service file.
@joohoi commented on GitHub (Sep 3, 2019):
Good to hear that you got it fixed. Another option to handle this would be to define a full path to
config.cfgacme_cache_dir. This could be documented better in the installation instructions and / or theconfig.cfgitself.@lateagain commented on GitHub (Sep 11, 2019):
I added a pull request (set working directory in the systemd service file) because with the default working directory the service can't create the "api-certs" directory for ssl certificate.
@joohoi commented on GitHub (Oct 20, 2019):
Closing as resolved