Working with OpenSSL and Java
There is a known issue when OpenSSL providers and Java both reference the samelibfxpkcs11.so file. If both environments use the same file, it can cause either Java or any OpenSSL PKCS#11 HSM operations to fail.
If OpenSSL and Java will be installed on the same device, to avoid the issue, we recommend performing the following steps:
Configure OpenSSL and Java to point to their respective copies
- For Java, edit the
libraryline inpkcs11.cfgfile. If our recommendation was followed, the file should be located at/usr/local/etc/ - For PKCS11 Provider, edit the
pkcs11-module-pathline inopenssl.cnffile. If the user chose to edit the global file, run the command to find where the global OpenSSL file is located

