xipki / pkcs11wrapper

PKCS#11 Wrapper for Java. Deprecated. Please use xipki/ipkcs11wrapper (preferred) or xipki/jpkcs11wrapper instead.
Other
34 stars 13 forks source link

info about right pattern on hsm restart #3

Closed armando-basile closed 4 years ago

armando-basile commented 5 years ago

Hi Xipki, i would like to implement a right pattern in case of restart hsm necessary. I saw that, after i restarted hsm, i received this error on next use Unknwon mechanism with code: 0x0000000080000384

Which should be a right pattern ?

xipki commented 5 years ago
  1. As mentioned in #1, the re-init of HSM module cannot be implemented. You need to restart the JVM.
  2. Related to the Unknown mechanism error, please provide more log information.
armando-basile commented 5 years ago

Ok, so, of i understand, of hsm power off and after power on i need to restart jvm to reinitialize modulo and go away, it's right ?

Thanks

xipki commented 5 years ago

Yes, you need to restart the jvm.