Matthew Holt
3 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with
3 additions and
0 deletions
-
admin.go
|
@ -466,6 +466,9 @@ func replaceRemoteAdminServer(ctx Context, cfg *Config) error { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// create TLS config that will enforce mutual authentication
|
|
|
// create TLS config that will enforce mutual authentication
|
|
|
|
|
|
if identityCertCache == nil { |
|
|
|
|
|
return fmt.Errorf("cannot enable remote admin without a certificate cache; configure identity management to initialize a certificate cache") |
|
|
|
|
|
} |
|
|
cmCfg := cfg.Admin.Identity.certmagicConfig(remoteLogger, false) |
|
|
cmCfg := cfg.Admin.Identity.certmagicConfig(remoteLogger, false) |
|
|
tlsConfig := cmCfg.TLSConfig() |
|
|
tlsConfig := cmCfg.TLSConfig() |
|
|
tlsConfig.NextProtos = nil // this server does not solve ACME challenges
|
|
|
tlsConfig.NextProtos = nil // this server does not solve ACME challenges
|
|
|