Skip to content

Installation

Installation

Reference the official Java Maven package from HSM DINAMO in your project.

Manual installation

This form of installation is most commonly used for third-party applications where you don't have access to the source code.

  1. Download the file jar of Java package of HSM.

  2. Copy to folder <JAVA_HOME>\jre\lib\ext (Ex: C:\j2sdk1.4.2_11\jre\lib\ext) the files ndjca.jar (JCA) and tacndjavalib.jar (JNI).

  3. Include in the configuration file <JAVA_HOME>\jre\lib\security\java.security (Ex:C:\j2sdk1.4.2_11\jre\lib\security\java.security) the reference for the HSM security.provider.X=br.com.trueaccess.provider.netdfence.ND where X should be replaced by the position of the CSP in the CSP ranking list.

Example:

.
.
.
#
# List of providers and their preference orders (see above):
#
security.provider.1=sun.security.provider.Sun
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=com.sun.rsajca.Provider
security.provider.4=com.sun.crypto.provider.SunJCE
security.provider.5=sun.security.jgss.SunProvider
security.provider.6=br.com.trueaccess.provider.netdfence.ND
.
.
.