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

make ca url adjustable via env variable #193

Closed
wants to merge 1 commit into from
Closed

make ca url adjustable via env variable #193

wants to merge 1 commit into from

Conversation

thomas-mc-work
Copy link

I'd like to make the CA API URL adjustable via an environment variable. This makes it easier to cretae test scenarios by only providing the environment variable for the testing endpoint:

ACME_URL="https://acme-staging.api.letsencrypt.org" ./acme_tiny.py …

@diafygi
Copy link
Owner

diafygi commented Mar 18, 2018

DEFAULT_CA is deprecated in favor of DEFAULT_DIRECTORY_URL since the directory url is what should be used as the basis for getting the other urls. Also, if you want to use an environ variable, you can use the command line options or just call get_crt() directly with the directory_url you want to specify (that's what the test suite does).

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

Successfully merging this pull request may close these issues.

2 participants