electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

does this tool support signing the installer with pfx file?

Open wangxiexe opened this issue 10 years ago • 3 comments

previously when using

"electron-winstaller": "^2.1.0",

I can specify these two properties and sign the installer

certificateFile: __dirname + '/certs/xxx.pfx', certificatePassword:'xxxaa',

but with electron-builder, it seems not support sign with pfx file any more, it mentions:

CSC_LINK The HTTPS link (or base64-encoded data) to certificate (*.p12 file).

just double confirm can I find some way to still use the pfx file for signing ? thx.

wangxiexe avatar Jun 06 '16 07:06 wangxiexe

Duplicate #449 Fix will be in 15 minutes.

develar avatar Jun 06 '16 07:06 develar

just double confirm can I find some way to still use the pfx file for signing ? thx.

On CI server you should use CSC_LINK. On development machine you can use CSC_LINK as well.

To simplify migration and to solve problem that Windows doesn't have keychain , certificateFile and certificatePassword are fully supported. Specify it in the build.win. It was broken in 4 version, but now regression is fixed.

develar avatar Jun 06 '16 07:06 develar

ok ,seems pfx and p12 files are same.

wangxiexe avatar Jun 06 '16 08:06 wangxiexe