¿Por qué recibo un error CKR_IBM_WK_NOT_INITIALIZED cuando utilizo la CLI o la API?
Al utilizar la CLI o la API, se recibe un mensaje de error CKR_IBM_WK_NOT_INITIALIZED.
Es posible que obtenga un mensaje de error similar al siguiente:
ibmcloud kp -i < id_instancia_servicio> wrap < id_clave> Clave de ajuste ... FAILED Bad Request: rpc error: code = Unknown desc = GRPC Return Code: [0X434B525F484F53545F4D454D4F5259] GRPC Message: [Got error CKR_IBM_WK_NOT_INITIALIZED, from libep11.so in m_UnwrapKey]
Al ejecutar el mandato ibmcloud tke cryptounit-compare, no ha obtenido una confirmación Valid sobre el CURRENT MASTER KEY REGISTER (registro de clave maestra actual).
Asegúrese de que la clave maestraAn encryption key that is used to protect a crypto unit. The master key provides full control of the hardware security module and ownership of the root of trust that encrypts the chain keys, including the root key and standard key. de HSM esté establecida correctamente.