Electron-builder: Unknown Publisher when distributed using server

Created on 4 Dec 2018  路  3Comments  路  Source: electron-userland/electron-builder


  • Version: 20.38.2

  • Target: win
  • electron: 3.0.10

    When I distribute my signed .exe using a server like s3 or google drive, it shows "Unknown Publisher" on windows. But the weird part is when sharing it directly using a local server or slack, it does not show the alert.

Here is my build object:

"build": {
    "appId": "com.ABC.xyz",
    "asar": true,
    "asarUnpack": [
      "**/node_modules/node-machine-id/*",
      "**/*.sh"
    ],
    "win": {
      "target": "NSIS",
      "icon": "build/icon-white.ico",
      "certificateFile": "",
      "certificatePassword": ""
    },
    "nsis": {
      "deleteAppDataOnUninstall": true
    }
  }

Code Sign Certificate is from COMODO
Is it anything I might be doing wrong? Any help would be appreciated.

question

Most helpful comment

Is this an EV or regular cert? If it's a regular cert, this is expected behavior.

Refer here for more information: https://www.electron.build/code-signing.html#windows

All 3 comments

Is this an EV or regular cert? If it's a regular cert, this is expected behavior.

Refer here for more information: https://www.electron.build/code-signing.html#windows

It is a regular cert. So the issue is with the cert, I thought I might be doing something wrong.
And It goes away after enough users installed your application, any idea how many approx installation it requires to build that trust?

Thanks for the help! @zhaoterryy

@rahulr-codal for us this went away after about 100 installations where users "trusted" the downloaded package.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NPellet picture NPellet  路  3Comments

ccorcos picture ccorcos  路  3Comments

alexstrat picture alexstrat  路  3Comments

AidanNichol picture AidanNichol  路  3Comments

iklemm picture iklemm  路  3Comments