Matthew Holt
b249b45d10
tls: Change struct fields to pointers, add nil checks; rate.Burst update
Making them pointers makes for cleaner JSON when adapting configs, if
the struct is empty now it will be omitted entirely.
The x/time/rate package was updated to support changing the burst, so
we've incorporated that here and removed a TODO.
5 years ago
Matt Holt
11696793bd
tls/acme: Ability to customize trusted roots for ACME servers ( #2756 )
Closes #2702
5 years ago
Matthew Holt
f15f0d5839
Eliminate some TODOs
5 years ago
Matthew Holt
ed40a5dcab
tls: Do away with SetDefaults which did nothing useful
CertMagic uses the same defaults for us
5 years ago
Matthew Holt
7799554baa
go.mod: Use lego v3 and CertMagic 0.7.0
5 years ago
Matthew Holt
b4dce74e59
tls: Use Let's Encrypt production endpoint
We're done testing this in staging
5 years ago
Matthew Holt
c9980fd367
Refactor Caddyfile adapter and module registration
Use piles from which to draw config values.
Module values can return their name, so now we can do two-way mapping
from value to name and name to value; whereas before we could only map
name to value. This was problematic with the Caddyfile adapter since
it receives values and needs to know the name to put in the config.
6 years ago
Matthew Holt
28df6cedfe
tls: Use IANA-standard cipher suite names
6 years ago
Matthew Holt
dd6aa91d72
Fix DNS provider module unmarshaling ( closes #2676 )
6 years ago
Matthew Holt
79216d356c
acmemanager: Use storage module key "module" instead of "system"
6 years ago
Matthew Holt
fdd871e177
go.mod: Append /v2 to module name; update all import paths
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
6 years ago
Matthew Holt
3177ee8010
Add license
6 years ago
Matthew Holt
269b1e9aa3
tls: Improve (and fix) on-demand configuration
6 years ago
Matthew Holt
5137859e47
Rename caddy2 -> caddy
Removes the version from the package name
6 years ago
Matthew Holt
b79f86f256
Fix bugs related to auto HTTPS and alternate port configurations
6 years ago
Matthew Holt
613aecb898
Change import paths to GitHub package names
6 years ago
Matthew Holt
be9b6e7b57
Honor the configured CA value
6 years ago
Matthew Holt
2fd98cb040
Module.New() does not need to return an error
6 years ago
Matthew Holt
1f0c061ce3
Architectural shift to using context for config and module state
6 years ago
Matthew Holt
43961b542b
General cleanup and more godocs
6 years ago
Matthew Holt
2d056fbe66
Initial commit of Storage, TLS, and automatic HTTPS implementations
6 years ago