Comments (7)
I'd suggest you use symlinks, or add an alias in your webserver configuration. It seems to me to make sense to have one repository on the system for challenge files, so I'd like to stick with that.
By the way, the "standard" webroot path is /var/run/acme/acme-challenge
. Files are put here (e.g. for the redirector) if you aren't using webroot mode.
I guess multiple webroots could be supported, but it also seems superfluous. I'll think about it for a while.
from acmetool.
After thinking about it for what according to GitHub is two minutes, I think multiple webroot support would at least be a good refactoring internally. I'll probably at least change it to always try and put files in /var/run/acme/acme-challenge
for now, and maybe support multiple custom paths later.
from acmetool.
On recent distributions, /var/run
is a tmpfs (actually a symlink to the tmpfs mount /run
), so if one symlinks $VHOST_WEBROOT/.well-known
→ /var/run/acme
(or $VHOST_WEBROOT/.well-known/acme-challenge
→ /var/run/acme/acme-challenge
), that symlink will point to nowhere after a reboot. The dangling symlink might actually be mostly harmless, but I thought it's worth pointing out.
from acmetool.
I've added multiple webroot support. No support in the quickstart interface at this time, you'll need to edit the file in conf. One path per line. Challenges will be deposited in all of them. v0.0.14.
from acmetool.
See also: #25
from acmetool.
How about something like:
acmetool --challenge-dir=/path/to/.well-known/acme-challenge want example.com
(which of course should remember the setting in the config files)?
from acmetool.
Not sure what you're asking; you can set the path via quickstart or via editing the conf dir. I haven't implemented it per-domain; it just drops a given challenge file into all configured directories, which is fine. I don't think there's much point segmenting it by domain. It's not like there's a performance or disk usage issue.
from acmetool.
Related Issues (20)
- ACMEv2 beta (v0.2.1) now available HOT 78
- github.com/godbus/dbus/v5: cannot find package in 0.2.1 Beta
- pull requests wait on "continuous-integration/travis-ci Expected — Waiting for status to be reported" HOT 1
- Missing license HOT 3
- build failed WindowsX64 to build LinuxX64 HOT 1
- certrequest is failing with api-v2 HOT 7
- Let's Encrypt ACMEv2 compatible HOT 2
- manually fence unseen nodes
- No Release File - ubuntu 20.04
- quickstart loops and times out HOT 1
- acmetool v0.2.1 failing getting certificate (ACMEv2) HOT 1
- Binary installed under directory name
- PKCS #11 support request HOT 1
- staging URL in defaultconf with live URL in desired files makes for a lot of accounts
- Adding flock() support
- Support for specifying alternate chain (like --preferred-chain in certbot) ?
- lookup git.devever.net: no such host HOT 7
- /var/lib/acme/conf/target file permission HOT 3
- Building from source is difficult HOT 1
- Repository Does Not Have Release File HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acmetool.