CST: Error loading pkcs11 engine: could not load the shared library

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CST: Error loading pkcs11 engine: could not load the shared library

1,817 次查看
deanmatsen
Contributor I

I have encountered the exact same problem as 

https://community.nxp.com/t5/Other-NXP-Products/CST-Error-loading-pkcs11-engine-could-not-load-the-s...

but the answer (if any) was taken offline into an e-mail conversation, so nobody else got to see any response regarding this.

My output:

PKCS11_MODULE_PATH=/usr/lib/x86_64-linux-gnu/p11-kit-proxy.so

../linux64/bin/cst --verbose -b pkcs11 -o signed-u-boot-atf-container.img -i hab-script.txt
Install SRK
Authenticate data

[ERROR] CST: Error loading pkcs11 engine: could not load the shared library

there is no information about what it tried to load, where it tried to load it from.  It says engine, but is it actually the PKCS#11 module?  How does it find my PKCS#11 driver (already asked in the other post)?

My PKCS#11 driver can be found by pkcs11-tool and p11tool and it shows the right tokens and objects  

 

0 项奖励
回复
1 回复

1,767 次查看
Harvey021
NXP TechSupport
NXP TechSupport

The error seems that need to configure your env as Dockerfile.

If you are using the latest CST (IMX_CST_TOOL_NEW ), please refer to the section <Using Code-Signing Tool with Hardware Security Module> of CST-UG and the Dockerfile.hsm in the CST.

 

Regards

Harvey

0 项奖励
回复