in lib/CertificateTools.js [261:283]
async function removeCertFiles(certPath, keyPath, pfxPath) {
try {
await fs.unlink(certPath);
} catch (e) {
if (!e.message.indexOf("no such file or directory")) {
throw e;
}
}
try {
await fs.unlink(keyPath);
} catch (e) {
if (!e.message.indexOf("no such file or directory")) {
throw e;
}
}
try {
await fs.unlink(pfxPath);
} catch (e) {
if (!e.message.indexOf("no such file or directory")) {
throw e;
}
}
}