-
Open the file
/usr/local/openssl/ssl/openssl.cnfand enter the following line in the first line of the file.
openssl_conf = openssl_init
-
Enter the following lines under last section of
openssl.cnffile.
[openssl_init] engines=engine_section
[engine_section] pkcs11 = pkcs11_section
[pkcs11_section] engine_id = pkcs11
dynamic_path = /usr/local/libp11/lib/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.