Hi,
I am developing a pkcs11 library to be used for an TDE connection from an oracle DB (19c) to an HSM. This will be running on AIX. I have built a 64 bit shared library and a test harness that can load and execute the exported functions. I’ve placed the library in /opt/oracle/extapi/64/hsm/vendor/libpkcs11.a and changed the modes and owners to to 755 and oracle:oinstall. However, no matter what I do, oracle refuses to load the library. I see the following in the trace file.
KZTDE:kzekmisxhp: secondary auto-login wallet open failed with error 1
KZTDE:HSM TRACING BEGIN
KZTDE:skgdllDiscover did not find any library files
KZTDE:Error info for file /opt/oracle/extapi/64/hsm/xxxxxxx/libpkcs11.a not loaded by skgdllDiscover
KZTDE:skgdll error class : 13
KZTDE:skgdllDiscover operation : usable
KZTDE:other information :
KZTDE:system dependent error no : 0
KZTDE:system dependent error msg : Error 0
KZTDE:HSM TRACING END
KZTDE:kzthsminit_discover_load_pkcs_lib failed, error 28376
The library is competely stripped down, so no external dependancies. Just a bunch of stubs right now. Any suggestions on how I can troubleshoot this further?
thanks
tom