xca
xca copied to clipboard
Cannot load PKCS11 module on macOS ("file not found")
XCA fails to open PKCS#11 libraries ("file not found"), even if the file exists (i.e. softhsm2.so
and libykcs11.dylib
).
This issue may be related to #292, however none of the workarounds worked so it might not be connected at all.
Things I've tried:
- Remove the signature and re-sign with my own certificate and the entitlement from #292.
- Use XCA 2.3.0.78 instead
Furthermore, there are no Library Validation failed
-errors in my console.
System info:
- MacBook Pro (14-inch, 2021), Apple M1 Pro
- macOS Monterey 12.3.1 (21E258)
Work around works for me:
codesign --remove-signature /Applications/xca.app/
codesign --sign - /Applications/xca.app/
Of course, this will weaken the security slightly by removing the signature.