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:
parent
9a7756c6e4
commit
e18c373064
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue