1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

caddytls: Actually use configured test CA

This commit is contained in:
Matthew Holt 2020-06-02 11:13:44 -06:00
parent 9a7756c6e4
commit e18c373064
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -134,6 +134,7 @@ func (m *ACMEIssuer) Provision(ctx caddy.Context) error {
func (m *ACMEIssuer) makeIssuerTemplate() (certmagic.ACMEManager, error) { func (m *ACMEIssuer) makeIssuerTemplate() (certmagic.ACMEManager, error) {
template := certmagic.ACMEManager{ template := certmagic.ACMEManager{
CA: m.CA, CA: m.CA,
TestCA: m.TestCA,
Email: m.Email, Email: m.Email,
CertObtainTimeout: time.Duration(m.ACMETimeout), CertObtainTimeout: time.Duration(m.ACMETimeout),
TrustedRoots: m.rootPool, TrustedRoots: m.rootPool,