Skip to content
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

cert specific config not loaded if wellknown does not exists #314

Closed
Lem opened this issue Dec 4, 2016 · 1 comment
Closed

cert specific config not loaded if wellknown does not exists #314

Lem opened this issue Dec 4, 2016 · 1 comment

Comments

@Lem
Copy link

Lem commented Dec 4, 2016

Under the following circumstances certificate specific config file will not be loaded:

  • Using http-01 in $SCRIPTDIR/config (e.g using default config from docs/examples/config)
  • WELLKNOWN-dir does not exists
  • certificate specific config file placed in certs/domain.tld/config
root@host:/tmp# /root/dehydrated/dehydrated -c -d domain.tld
# INFO: Using main config file /root/dehydrated/config
ERROR: WELLKNOWN directory doesn't exist, please create /var/www/dehydrated and set appropriate permissions.

Even if the certificate specific config is using dns-01 it seems to be odd to enforce an existing WELLKNOWN-dir. Creating it is a simple workaround if you're using dns-01 only.

@lukas2511
Copy link
Member

Well this is a bit more complicated to "fix", I need to verify the config because there are parameters which may influence loading of additional config files, and I don't really want to split it up. Since the additional config files were intended to only be used in special cases I still see the requirement of the main configuration being valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants