fix: 腾讯云EdgeOne多证书模式无法更新证书

This commit is contained in:
Netrvin
2025-12-01 23:04:59 +08:00
committed by GitHub
parent e31ed94922
commit e36e40dbce
@@ -196,7 +196,7 @@ func (d *Deployer) Deploy(ctx context.Context, certPEM, privkeyPEM string) (*dep
privkey, err := xcert.ParsePrivateKeyFromPEM(privkeyPEM)
if err != nil {
return nil, fmt.Errorf("could not parse custom private key: %w", err)
return nil, fmt.Errorf("could not parse private key: %w", err)
}
privkeyAlg, _, _ := xcryptokey.GetPrivateKeyAlgorithm(privkey)
privkeyAlgStr := ""