Skip to content

Quick Guide

  1. Install the HSM client according to your platform

  2. Setting basic environment variables

For more information, see the configuration section.

You can configure the environment variables via System Properties.

Note

A shortcut to open System Properties is to press the keys Win + R keys and then run sysdm.cpl.

  1. Select the Advanced tab and click on Environment variables.
  2. Create the user's new environment variables.

You can configure the environment variables in the user's profile file according to the specific environment (e.g. ~/.bash_profile, ~/.profile, ~/.login etc) by adding and making the appropriate substitutions:

.
.
.
export DFENCE_PKCS11_IP=ip_hsm
export DFENCE_PKCS11_USER=id_usuario_hsm
export DFENCE_PKCS11_AUTO_RECONNECT=1

Integrating with Applications

Applications that use PKCS#11 only need two pieces of information:

  1. The location of the PKCS#11 library Dinamo;
  2. the password of the HSM user configured in PKCS#11.

The PKCS#11 library Dinamo is copied to the machine during installation of the HSM client. The file name is tacndp11.dll.

No windows a biblioteca PKCS#11 estará na subpasta <diretório de instalação>\HSM Dinamo\sdk\c. Caso tenha utilizado a versão 64-bits do instalador, também estará disponível a versão 32-bits na pasta <diretório de instalação>\HSM Dinamo\sdk\32-bit.

Examples:

  • C:\Program Files\Dinamo Networks\HSM Dinamo\sdk\c\tacndp11.dll

  • C:\Program Files\Dinamo Networks\HSM Dinamo\sdk\32-bit\tacndp11.dll

The PKCS#11 library Dinamo is copied to the machine during the installation of the HSM client. The file name is libtacndp11.so.

The PKCS#11 library will be in the system libraries folder.

Examples:

  • /usr/lib64/libtacndp11.so
  • /usr/lib/libtacndp11.so