Perché ricevo un errore CKR_IBM_WK_NOT_INITIALIZED quando utilizzo la CLI o l'API?

Quando utilizzi la CLI o l'API, ricevi un messaggio di errore CKR_IBM_WK_NOT_INITIALIZED.

È possibile che venga visualizzato un messaggio di errore simile al seguente:

ibmcloud kp -i < id_istanza_servizio> wrap < id_chiave> Ritorno a capo della chiave ... Richiesta NON RIUSCITA: errore rpc: codice = Descrizione sconosciuta = Codice di ritorno GRPC: [0X434B525F484F53545F4D454D4F5259] Messaggio GRPC: [È stato ricevuto l'errore CKR_IBM_WK_NOT_INITIALIZED, da libep11.so in m_UnwrapKey]

Quando hai eseguito il comando ibmcloud tke cryptounit-compare, non hai ricevuto una conferma Valid sul CURRENT MASTER KEY REGISTER.

Assicurarsi che la chiave masterAn 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. HSM sia impostata correttamente.