统一证书热加载策略并记录内置续期验收边界
This commit is contained in:
1 parent
8a30cae56a
commit
b5191bbf17
4 files changed
+64
-2
No files matched your search
@@ -106,7 +106,7 @@ func loadValidatedRuntimeCertificate(cfg *Config) (tls.Certificate, error) {
|
||||
AdminRecovery: cfg.AdminRecoveryDomain,
|
||||
}}}
|
||||
runtime.SSL.TLS = cfg.SSL
|
||||
if cfg.SSLType == SSLTypeAutoDNS {
|
||||
if cfg.EffectiveSSLType() == SSLTypeAutoDNS {
|
||||
runtime.SSL.TLS.Management = SSLManagementProject
|
||||
runtime.SSL.TLS.Challenge = SSLChallengeDNS
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user