1. 09 Sep, 2016 3 commits
    • Matthew Holt's avatar
      Lower-case server name for good measure · 98bba338
      Matthew Holt authored
      This already happens in the getCertificate function, but doing it here
      guarantees case insensitivity across the board for this handshake.
      98bba338
    • Matthew Holt's avatar
      Improve TLS storage provider errors · abdf13ea
      Matthew Holt authored
      We renamed caddytls.ErrStorageNotFound to caddytls.ErrNotExist to more
      closely mirror the os package. We changed it to an interface wrapper
      so that the custom error message can be preserved. Returning only "data
      not found" was useless in debugging because we couldn't know the
      concrete value of the error (like what it was trying to load).
      
      Users can do a type assertion to determine if the error value is a "not
      found" error instead of doing an equality check.
      abdf13ea
    • Matthew Holt's avatar
      Fix bug renewing certs affecting Caddyfiles using wildcard addresses · a251831f
      Matthew Holt authored
      A Caddyfile using *.example.com as its site address would be subject to
      this bug at renewal time, as it would use the literal "*.example.com"
      value instead of the name being passed in to obtain a certificate.
      This change fixes the LoadSite call so that it looks in the proper
      directory for the certificate resources.
      a251831f
  2. 05 Sep, 2016 4 commits
  3. 30 Aug, 2016 5 commits
  4. 29 Aug, 2016 2 commits
  5. 26 Aug, 2016 1 commit
  6. 25 Aug, 2016 8 commits
  7. 24 Aug, 2016 3 commits
  8. 23 Aug, 2016 12 commits
  9. 20 Aug, 2016 1 commit
  10. 19 Aug, 2016 1 commit