Honor the configured CA value

This commit is contained in:
Matthew Holt 2019-05-21 14:22:33 -06:00
parent 2fd98cb040
commit be9b6e7b57
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func (m *acmeManagerMaker) makeCertMagicConfig(ctx caddy2.Context) certmagic.Con
}
return certmagic.Config{
CA: certmagic.LetsEncryptStagingCA, //ap.CA, // TODO: Restore true value
CA: m.CA,
Email: m.Email,
Agreed: true,
DisableHTTPChallenge: m.Challenges.HTTP.Disabled,