Connecting Applications
The Primus PKCS#11 Provider should now be installed and configured, and ready to be used by your applications. Therefore, proceed to install and configure your application.
See the Solutions Explorer for a list of PKCS#11-compatible applications. Their integration guides contain application-specific instructions.
If you run into problems, follow the troubleshooting steps.
Common settings
Any PKCS#11-compatible application will ask you to provide values for the following settings. These tell the application where it can find the PKCS#11 module/library, which token/slot it should use (since there may be multiple ones), and how to authenticate (using the PIN/Password). The exact values may differ from the example if you have installed or configured the Primus PKCS#11 Provider differently.
| Setting | Description |
|---|---|
| PKCS#11 module path | /usr/local/primus/lib/libprimusP11.so |
| Token label | Partition name |
| Slot ID | As configured in primus.cfg |
| PKCS#11 User PIN | The PKCS#11 Password configured in the Security Config on the HSM |
File system permissions
In the default installation, the PKCS#11 provider files are owned by the primus group.
Therefore, in order to be able to access the PKCS#11 provider, you must add your
application user to the primus group:
sudo usermod -a -G primus app-user
Please consult the documentation of your application to find out as which user the application runs.