Depending on the system running your machine, configure Jarsigner as explained in one of the following sections.
Configuring Jarsigner in Windows
When using a Windows machine to run Jarsigner, paste the following contents in a text editor.
name=<token>
library="<P11SigningClient64.dll>"
Where:
<token>
is theToken ID
value returned by thesigningclient config list
command.<P11SigningClient64.dll>
is the path of theP11SigningClient64.dll
library.
For example:
name=csaas
library="C:\\Program Files\\Entrust\\SigningClient\\P11SigningClient64.dll"
Save these contents as the following file.
C:\Program Files\Java\jdk-17\bin\csaas.cfg
Configuring Jarsigner in Linux
When using a Linux machine to run Jarsigner, paste the following contents in a text editor.
name=<token>
library="<P11SigningClient64.so>"
Where:
<token>
is theToken ID
value returned by thesigningclient config list
command.<P11SigningClient64.so>
is the path of theP11SigningClient64.so
library.
For example:
name=csaas
library="/home/admin/signingclient64/pkcs11-logger64.so"
Save these contents as the following file.
<jdk>/bin/csaas.cfg
Where <jdk>
is the path of the Oracle Java JDK installation – for example:
/usr/lib/jvm/jdk-22-oracle-x64/bin/csaas.cfg