mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-22 17:21:45 +00:00
Merge branch 'main' into feat/condition
This commit is contained in:
@@ -68,7 +68,7 @@ func (n *applyNode) Process(ctx context.Context) error {
|
||||
}
|
||||
|
||||
// 解析证书并生成实体
|
||||
certX509, err := certutil.ParseCertificateFromPEM(applyResult.CertificateFullChain)
|
||||
certX509, err := certutil.ParseCertificateFromPEM(applyResult.FullChainCertificate)
|
||||
if err != nil {
|
||||
n.logger.Warn("failed to parse certificate, may be the CA responded error")
|
||||
return err
|
||||
@@ -76,7 +76,7 @@ func (n *applyNode) Process(ctx context.Context) error {
|
||||
|
||||
certificate := &domain.Certificate{
|
||||
Source: domain.CertificateSourceTypeWorkflow,
|
||||
Certificate: applyResult.CertificateFullChain,
|
||||
Certificate: applyResult.FullChainCertificate,
|
||||
PrivateKey: applyResult.PrivateKey,
|
||||
IssuerCertificate: applyResult.IssuerCertificate,
|
||||
ACMEAccountUrl: applyResult.ACMEAccountUrl,
|
||||
|
Reference in New Issue
Block a user