cert: do not autoclean default cert

This commit is contained in:
Girish Ramakrishnan
2022-11-13 16:56:51 +01:00
parent 9c8f78a059
commit 2515a0f18f

View File

@@ -695,7 +695,7 @@ async function cleanupCerts(auditSource, progressCallback) {
locations = locations.concat(appLocationsSync(app));
}
const certsInUse = [];
const certsInUse = [ 'default.cert' ];
for (const location of locations) {
const certificatePath = await getCertificatePath(location.fqdn, location.domain);
certsInUse.push(path.basename(certificatePath.certFilePath));