Update: starting with install4j 11, macOS notarization is cross-platform
We are considering to switch to an extended validation (EV) code signing certificate.
In order to fully automate the notarization with Apple, we had to switch our build machine to a Mac mini.
Reading up on the EV code signing process, and how to automate it, two questions arose:
The comment from Ingo Kegel on this SO question seems to indicate that you can pass the HSM password via --win-keystore-password=<password> command line option.
Is that correct?
The install4j help mentions 'different platforms':
On Windows, such a hardware token can be usually accessed through the Windows keystore. On a different platform, you have to choose the "Hardware security module PKCS #11 library" option and configure a native library that provides access to the keystore in the HSM through the PKCS #11 API.
Are there PKCS #11 libraries for MacOS? The library selection dialog asks for a DLL...
I can confirm that we managed to get this running (both Windows EV Code Signing and Apple Notarization automated on a Mac mini):
sys.ext.certDir/usr/local/lib/libeTPkcs11.dylibC:/Windows/System32/eTPKCS11.dll

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With