0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-30 22:34:15 -05:00

Honor the configured CA value

This commit is contained in:
Matthew Holt 2019-05-21 14:22:33 -06:00
parent 2fd98cb040
commit be9b6e7b57

View file

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