Troubleshooting

Error

Diagnosis

LoginUser= failed:
05.12.2021 23:45:45 src/p11adm_R3.c[429] p11_login: C_Login [type=1] returned Error 0x00000102 (CKR_USER_PIN_NOT_INITIALIZED)

PKCS#11 Slot is not initialized. Refer Initialize a Slot

The CryptoServer PKCS#11 Library R3 is not initialized.
Error CKR_CRYPTOKI_NOT_INITIALIZED occurred

PKCS#11 Slot is not initialized. Refer Initialize a Slot

OpenSSL> engine -t dynamic -pre SO_PATH:/usr/lib64/openssl/engines/pkcs11.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/opt/utimaco/lib/libcs_pkcs11_R3.soengine: Cannot mix flags and engine names. engine: Use -help for summary. error in engine

Install updated libp11 library on host machine

openssl req -engine pkcs11 -new -key 4F70656E73736C4B6579 -keyform engine -out req.pem -text -x509 -subj "CN=Utimaco" invalid engine "pkcs11" 139703122831248:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib64/openssl/engines/libpkcs11.so): libcrypto.so.1.1: cannot open shared object file: No such file or directory 139703122831248:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233: 139703122831248:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:467: 139703122831248:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:392:id=pkcs11 139703122831248:error:25066067:DSO support

routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(libpkcs11.so): libpkcs11.so: cannot open shared object file: No such file or directory 139703122831248:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233: 139703122831248:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:467: no engine specified
unable to load Private Key

Export the below value of LD_LIBRARY_PATH and Path for Openssl to avoid the above error.
export LD_LIBRARY_PATH=/usr/local/libp11/lib:/usr/local/openssl/lib:$ LD_LIBRARY_PATH
export PATH=/usr/local/openssl/bin:$PATH

AH00526: Syntax error on line 92 of /usr/local/apache/conf/extra/httpd-ssl.conf:
SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).

Make sure you have uncommented the required configuration line from the Apache Configuration line

List of errors and their diagnoses