mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Read config from $XDG_CONFIG_HOME/letsencrypt/cli.ini.
This commit is contained in:
parent
108bd22ca3
commit
c639673de5
1 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
"""Let's Encrypt constants."""
|
||||
import os
|
||||
import logging
|
||||
|
||||
from acme import challenges
|
||||
|
|
@ -8,7 +9,12 @@ SETUPTOOLS_PLUGINS_ENTRY_POINT = "letsencrypt.plugins"
|
|||
"""Setuptools entry point group name for plugins."""
|
||||
|
||||
CLI_DEFAULTS = dict(
|
||||
config_files=["/etc/letsencrypt/cli.ini"],
|
||||
config_files=[
|
||||
"/etc/letsencrypt/cli.ini",
|
||||
# http://freedesktop.org/wiki/Software/xdg-user-dirs/
|
||||
os.path.join(os.environ.get("XDG_CONFIG_HOME", "~/.config"),
|
||||
"letsencrypt", "cli.ini"),
|
||||
],
|
||||
verbose_count=-(logging.WARNING / 10),
|
||||
server="https://www.letsencrypt-demo.org/acme/new-reg",
|
||||
rsa_key_size=2048,
|
||||
|
|
|
|||
Loading…
Reference in a new issue