'Unable to sign a Windows app on macOS/Linux with Electron-builder
I am using Monterey 12.3.1 and following this instructions: https://www.electron.build/tutorials/code-signing-windows-apps-on-unix
I am trying to sign with osslsigncode. I am failing at this step:
- Install token driver for Mac, export the certificate (convert it to pem when it is .cer)
1. What is actually the token driver? Where to obtain it?
2. I received 2 .cer files from my customer. When I export them from my keychain .pem and .cer is the same content. Is that right?
-----BEGIN CERTIFICATE-----
MIIGzTCCBLWg...etc
-----END CERTIFICATE-----
Also further down:
- Figure out the key ID by running pkcs11-tool --module /usr/local/lib/libeTPkcs11.dylib -l -O
/usr/local/lib/libeTPkcs11.dylib is missing on my system. Where does it come from? I installed libp11 like stated in the tutorial but this lib is not built. I only have a libpkcs11.dylib but it does not seem to work.
Where I am getting libeTPkcs11.dylib from? Google does not help me here..
I am a total noob in this code signing game. So every help would be appreciated.
Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
