Keys created from one HSM client are not available

2019-05-26 21:55发布

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条回答
一夜七次
2楼-- · 2019-05-26 22:29

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.

查看更多
登录 后发表回答