fix: ProxmoxUploadCert 增加强制部署证书

https://github.com/certd/certd/issues/337
This commit is contained in:
xiaojunnuo
2025-03-10 22:48:49 +08:00
parent 11d1f6e141
commit 441b15ed2f
4 changed files with 4 additions and 4 deletions
@@ -71,7 +71,7 @@ export class ProxmoxUploadCert extends AbstractPlusTaskPlugin {
for (const node of this.nodes) {
this.logger.info(`开始上传证书到节点:${node}`);
const res = await client.nodes.get(node).certificates.custom.uploadCustomCert(cert.crt, false, cert.key, true);
const res = await client.nodes.get(node).certificates.custom.uploadCustomCert(cert.crt, true, cert.key, true);
this.logger.info(`上传结果:${JSON.stringify(res.response)}`);
}