mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-01 15:39:35 +08:00
fix: 腾讯云EdgeOne多证书模式无法更新证书
This commit is contained in:
@@ -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 := ""
|
||||
|
||||
Reference in New Issue
Block a user