forked from TrueCloudLab/lego
8f9e90b2a0
This commit updates `acme/http.go` to allow customizing the `*x509.CertPool` used by the `HTTPClient` by specifying the filepath of a custom CA certificate via the `CA_CERTIFICATE` environment variable. This allows developers to easily trust a non-standard CA when interacting with an ACME test server (e.g. Pebble): ``` CA_CERTIFICATE=~/go/src/github.com/letsencrypt/pebble/test/certs/pebble.minica.pem \ lego \ --server https://localhost:14000/dir \ --email foo@bar.com \ -d example.com \ run ``` |
||
---|---|---|
.. | ||
testdata | ||
challenges.go | ||
client.go | ||
client_test.go | ||
crypto.go | ||
crypto_test.go | ||
dns_challenge.go | ||
dns_challenge_manual.go | ||
dns_challenge_test.go | ||
error.go | ||
http.go | ||
http_challenge.go | ||
http_challenge_server.go | ||
http_challenge_test.go | ||
http_test.go | ||
jws.go | ||
messages.go | ||
provider.go | ||
utils.go | ||
utils_test.go |