CAPKI problem: Unable to generate key and cert on Linux host - Error message: U00022070 CAPKI Library not available.
- CAPKI was installed successfully as root (return code = 0), CAPKI_HOME and CASHCOMP were set.
- Service manager was re-installed, but whenever it was started (via .sh script or manual cli nohup ./ucybsmgr Phrase &), the .pem files were not created.
- From service manager log, the following error is seen: U00022070 CAPKI Library not available. --> connection was not secured.
When checking nohup.out, the following error message appeared:
root# cat nohup.out
ERROR: cannot access /proc/self/exe.Could not open CAPKI posix threads shared library, errno is 2, errmsg is Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.
Call to etpkiex_thread_load_functions_ext failed
Could not open CAPKI posix threads shared library, errno is 4, errmsg is Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.
Call to etpkiex_thread_load_functions_ext failed
root#
Release : 12.3.X
Component : AUTOMATION ENGINE
Configuration issue.
OS was unable to locate the libpthread.so.1 > add this to LD_PRELOAD
export LD_PRELOAD=/usr/lib/hpux64/libpthread.so.1