Giter Site home page Giter Site logo

Comments (7)

hlandau avatar hlandau commented on May 13, 2024

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.

hlandau avatar hlandau commented on May 13, 2024

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.

kkofler avatar kkofler commented on May 13, 2024

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.

hlandau avatar hlandau commented on May 13, 2024

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.

hlandau avatar hlandau commented on May 13, 2024

See also: #25

from acmetool.

kkofler avatar kkofler commented on May 13, 2024

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.

hlandau avatar hlandau commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.