caddy/caddytls
Matthew Holt b766dab9fa
tls: Reorder some logic to avoid subtle, undocumented behavior
By calling SetTLSAddress, the acme package reset the challenge provider
to the default one instead of keeping the custom one we specified before
with SetChallengeProvider. Yikes. This means that Caddy would try to
open a listener on port 443 even though we should have been handling it
with our provider, causing the challenge to fail, since usually port 443
is in use.

So this change just reorders the calls so that our provider takes
precedence.

cf. https://github.com/xenolf/lego/pull/292
2016-09-28 18:29:46 -06:00
..
storagetest Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
certificates_test.go fix typo 2016-08-09 14:57:17 +09:00
certificates.go Fix edge case in stapling; do not allow certs without any names 2016-08-19 13:42:48 -06:00
client_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
client.go tls: Reorder some logic to avoid subtle, undocumented behavior 2016-09-28 18:29:46 -06:00
config_test.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
config.go Clean up some significant portions of the TLS management code 2016-09-14 22:30:49 -06:00
crypto_test.go tls: fix TestStandaloneTLSTicketKeyRotation data race 2016-08-02 15:28:12 +08:00
crypto.go Minor text fixes ;) 2016-08-23 15:47:23 -06:00
filestorage_test.go Pluggable TLS Storage (#913) 2016-07-08 07:32:31 -06:00
filestorage.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
handshake_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
handshake.go Clean up some significant portions of the TLS management code 2016-09-14 22:30:49 -06:00
httphandler_test.go Only consume HTTP challenge for names we are solving for (closes #549) 2016-08-10 22:13:06 -06:00
httphandler.go Only consume HTTP challenge for names we are solving for (closes #549) 2016-08-10 22:13:06 -06:00
maintain.go Clean up some significant portions of the TLS management code 2016-09-14 22:30:49 -06:00
setup_test.go Allow just one TLS Protocol (Caddyfile) (#1004) 2016-08-06 15:00:54 -06:00
setup.go Add plugin capabilities for tls storage. 2016-08-23 23:00:20 +02:00
storage.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
tls_test.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
tls.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
user_test.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
user.go Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00