mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-03 05:34:16 -04:00
tls: Use Let's Encrypt production endpoint
We're done testing this in staging
This commit is contained in:
parent
fe389fcbd7
commit
b4dce74e59
@ -102,8 +102,10 @@ func (m *ACMEManagerMaker) Provision(ctx caddy.Context) error {
|
|||||||
// SetDefaults sets necessary values that are
|
// SetDefaults sets necessary values that are
|
||||||
// currently empty to their default values.
|
// currently empty to their default values.
|
||||||
func (m *ACMEManagerMaker) SetDefaults() {
|
func (m *ACMEManagerMaker) SetDefaults() {
|
||||||
|
// TODO: Setting all these defaults might not be necessary
|
||||||
|
// since CertMagic should fill them in for us...
|
||||||
if m.CA == "" {
|
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 == "" {
|
if m.Email == "" {
|
||||||
m.Email = certmagic.Default.Email
|
m.Email = certmagic.Default.Email
|
||||||
|
Loading…
x
Reference in New Issue
Block a user