mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-23 11:27:59 +00:00
feat: add edgio applications v7 deployer
This commit is contained in:
@@ -89,7 +89,7 @@ func (a *applyNode) Run(ctx context.Context) error {
|
||||
Outputs: a.node.Outputs,
|
||||
}
|
||||
|
||||
certX509, err := x509.ParseCertificateFromPEM(applyResult.Certificate)
|
||||
certX509, err := x509.ParseCertificateFromPEM(applyResult.CertificateChain)
|
||||
if err != nil {
|
||||
a.AddOutput(ctx, a.node.Name, "解析证书失败", err.Error())
|
||||
return err
|
||||
@@ -98,7 +98,7 @@ func (a *applyNode) Run(ctx context.Context) error {
|
||||
certificate := &domain.Certificate{
|
||||
Source: domain.CertificateSourceTypeWorkflow,
|
||||
SubjectAltNames: strings.Join(certX509.DNSNames, ";"),
|
||||
Certificate: applyResult.Certificate,
|
||||
Certificate: applyResult.CertificateChain,
|
||||
PrivateKey: applyResult.PrivateKey,
|
||||
IssuerCertificate: applyResult.IssuerCertificate,
|
||||
ACMECertUrl: applyResult.ACMECertUrl,
|
||||
|
Reference in New Issue
Block a user