|
Error |
Diagnosis |
|
LoginUser= failed: 05.12.2021 23:45:45 src/p11adm_R2.c[429] p11_login: C_Login [type=1] returned Error 0x00000102 (CKR_USER_PIN_NOT_INITIALIZED) |
PKCS#11 Slot is not initialized. Refer to 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 to Initialize a Slot |
|
[root@openssl]# openssl ca -engine pkcs11 - policy policy_anything -cert /localCA/newcerts/ca.cer -in /localCA/newcerts/sender/sender.txt -keyfile openssl12345 -keyform engine -out /localCA/newcerts/sender/sender.cer engine "pkcs11" set. Using configuration from /usr/local/ssl/openssl.cnf Enter PKCS#11 token PIN for Hashicorp: ca: ./localCA/newcerts is not a directory ./localCA/newcerts: No such file or directory |
Make sure to use the same path which is mentioned in Openssl.cnf file which is available under /usr/local/ssl/Openssl.cnf Check the value dir and certs under [ CA_default ] section use the same or add proper path to avoid the above error. |
|
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 the updated libp11 library on the 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/open ssl/engines/libpkcs11.so): libcrypto.so.1.1: |
Export the below value of LD_LIBRARY_PATH and Path for Openssl to avoid the above error. export LD_LIBRARY_PATH=/usr/local/lib64 export PATH=/usr/local/bin:$PATH |
|
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 |
|
Table 6: List of Error and its Diagnosis