lego/acme
Simon Menke b929aa5aab Fix zone detection for cross-zone cnames (#449)
* Fix zone detection for cross-zone cnames

CNAMEs cannot co-exist with SOA records so responses with
a CNAME should be skipped.

The `cross-zone-example.assets.sh.` is currently hosted by
me (@fd) and will continue to exist for as long as the assets.sh
domain exists. (The assets.sh domain is used as a CDN and is unlikely
to go away.)

See #330

* Extracted CNAME checking to simplify the FindZoneByFqdn control flow.
2017-11-15 11:03:00 +01:00
..
testdata Dns from resolv.conf (#293) 2016-11-03 19:37:15 +01:00
challenges.go Use http client with timeout of 10s 2016-02-14 14:33:54 -07:00
client.go Add explicit calls to disable authz on errors 2017-04-27 01:46:52 +02:00
client_test.go Do not get stuck when server accidentally starts responding with bad data (#349) 2017-02-19 05:17:22 +01:00
crypto.go Fix OCSP must staple. 2016-12-06 08:41:28 +01:00
crypto_test.go Add OCSP must staple support 2016-10-27 11:22:10 +02:00
dns_challenge.go Fix zone detection for cross-zone cnames (#449) 2017-11-15 11:03:00 +01:00
dns_challenge_manual.go Retry logic for dnsQuery 2016-04-12 00:24:11 +01:00
dns_challenge_test.go Fix zone detection for cross-zone cnames (#449) 2017-11-15 11:03:00 +01:00
error.go Fix nonce error (#354) 2017-02-19 05:12:14 +01:00
http.go acme/http: saner http client timeouts (#377) 2017-07-17 21:57:01 +02:00
http_challenge.go Add support for EC certificates / account keys 2016-02-21 04:18:45 +01:00
http_challenge_server.go Tweak log message for a wrong host in HTTP-01 2016-11-10 08:24:06 +01:00
http_challenge_test.go Fix HTTP-01 and TLS-SNI invalid port tests for go 1.8 2016-11-14 11:08:33 +01:00
http_test.go Couple more tests to ensure right method is being used 2016-01-13 18:49:25 -07:00
jws.go Move nonce retry from jws to http (#367) 2017-03-30 02:25:34 +02:00
messages.go Add explicit calls to disable authz on errors 2017-04-27 01:46:52 +02:00
pop_challenge.go Add remaining challenge types. 2015-06-11 00:11:58 +02:00
provider.go Add ChallengeProviderTimeout type to acme package 2016-03-16 18:17:03 +00:00
tls_sni_challenge.go Updated original signature and removed new function 2016-06-12 22:57:22 -07:00
tls_sni_challenge_server.go Updated original signature and removed new function 2016-06-12 22:57:22 -07:00
tls_sni_challenge_test.go Fix HTTP-01 and TLS-SNI invalid port tests for go 1.8 2016-11-14 11:08:33 +01:00
utils.go Fix WaitFor calls 2016-03-11 04:52:59 +01:00
utils_test.go Fix WaitFor calls 2016-03-11 04:52:59 +01:00