mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
perf: 支持部署到阿里云GA
This commit is contained in:
@@ -152,10 +152,11 @@ export class AliyunDeployCertToWaf extends AbstractTaskPlugin {
|
||||
endpoint: this.casEndpoint,
|
||||
});
|
||||
|
||||
certId = await sslClient.uploadCert({
|
||||
const certIdRes = await sslClient.uploadCert({
|
||||
name: this.buildCertName(CertReader.getMainDomain(this.cert.crt)),
|
||||
cert: this.cert,
|
||||
});
|
||||
certId = certIdRes.certId;
|
||||
}
|
||||
|
||||
const client = await this.getWafClient(access);
|
||||
|
||||
Reference in New Issue
Block a user