mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
tls: Use Let's Encrypt production endpoint
We're done testing this in staging
This commit is contained in:
parent
fe389fcbd7
commit
b4dce74e59
1 changed files with 3 additions and 1 deletions
|
@ -102,8 +102,10 @@ func (m *ACMEManagerMaker) Provision(ctx caddy.Context) error {
|
|||
// SetDefaults sets necessary values that are
|
||||
// currently empty to their default values.
|
||||
func (m *ACMEManagerMaker) SetDefaults() {
|
||||
// TODO: Setting all these defaults might not be necessary
|
||||
// since CertMagic should fill them in for us...
|
||||
if m.CA == "" {
|
||||
m.CA = certmagic.LetsEncryptStagingCA // certmagic.Default.CA // TODO: When not testing, switch to production CA
|
||||
m.CA = certmagic.Default.CA
|
||||
}
|
||||
if m.Email == "" {
|
||||
m.Email = certmagic.Default.Email
|
||||
|
|
Loading…
Reference in a new issue