Keys created from one HSM client are not available for use in another client

人盡茶涼 提交于 2019-12-10 11:07:46

问题


I am building a solution to store keys and encrypt\decrypt data using an HSM. I am using a network HSM manufactured by Thales. The thing I have noticed is that a key generated in client machine 1 is inaccessible in client machine 2. The key can only be used to encrypt\decrypt data in client machine 1. Is there any thing that needs to be changed in my implementation or is there something to be changed in net-HSM configuration to enable this. I am using PKCS11Iterop library for all the key management operations.

I am using token based OCS protection.


回答1:


I suppose your client machine 1 has a new file in kmdata/local directory associated to the new key generated. But your client machine 2 has not this file in his kmdata/local directory.

You have to find a way to share the kmdata/local directory, for instance, using NFS.



来源:https://stackoverflow.com/questions/45413752/keys-created-from-one-hsm-client-are-not-available-for-use-in-another-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!