Setting up Utimaco SecurityServer Library in OpenSSL Configuration File

  1. Open the file /etc/pki/tls/openssl.cnf and enter the following line in the first line of the file.

openssl.cnf

openssl_conf = openssl_init
  1. Enter the following lines under last section of openssl.cnf file.

openssl.cnf

[openssl_init]  
engines=engine_section  
[engine_section]  
pkcs11 = pkcs11_section  
[pkcs11_section]  
engine_id = pkcs11  
dynamic_path = /<engine_directory>/pkcs11.so  
MODULE_PATH = /opt/utimaco/lib/libcs_pkcs11_R3.so  
init = 0  

Dynamic path and Module path will get changed according to the user environment.

Verifying PKCS#11 Engine

Run the command below to verify whether the OpenSSL Engine is available.

›_ Console

# openssl engine pkcs11 -t 
tmp5w7efa8u.jpg

Verification of pkcs11 engine