CloudHSM: SDK v5 Failover Issue

0

We have the following configurations in our testing environment:

  • 2 HSMs in the CloudHSM cluster
  • 2 EC2 instances installed with SDK v5 and PKCS11 application
  • EC2#1 is connected to HSM#1 and EC2#2 is connected to HSM#2

Both PKCS#11 apps in EC2#1 and EC2#2 are running as normal initially. However, when one of HSM is removed from the cluster, we are starting to see errors in both EC2 instances. During the errors occurred, there is stilll one active HSM in the cluster. The same errors are shown in both EC2 instances: java.io.IOException: PKCS11Exception: CKR_DATA_LEN_RANGE

Anyone has any idea why SDK v5 fails in this case?

Thank you.

YK
已提問 10 個月前檢視次數 78 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南