diff --git a/packages/app-builder-lib/src/codeSign/windowsSignToolManager.ts b/packages/app-builder-lib/src/codeSign/windowsSignToolManager.ts index 1e5651978b2..8dbfc0708a5 100644 --- a/packages/app-builder-lib/src/codeSign/windowsSignToolManager.ts +++ b/packages/app-builder-lib/src/codeSign/windowsSignToolManager.ts @@ -413,7 +413,10 @@ export class WindowsSignToolManager { 10000, 0, (e: any) => { - if (e.message.includes("The file is being used by another process") || e.message.includes("The specified timestamp server either could not be reached")) { + if ( + e.message.includes("The file is being used by another process") || + e.message.includes("The specified timestamp server either could not be reached" || e.message.includes("No certificates were found that met all the given criteria.")) + ) { log.warn(`Attempt to code sign failed, another attempt will be made in 15 seconds: ${e.message}`) return true }