Я использую Safenet HSM. Попытка создать сертификат X509 с помощью приведенной ниже команды.
Request to HSM: "EE9202000001030002010001046365727400800365"
EE9202 - **Function Code** 00 - **Function Modifier** 00 - **Output certificate format** 0103 - **Public key exponent** 0002 - **Valid Usage of the key(Key Transport)** 0100 - **User Data** 01 -
**Version** 0463657274 - **Name of certificate in hex format ('cert')** 0080 - **Length of key requested(1024 in hex format)** 0365
- **validity of the certificate in days(365 days)**
Response from HSM: EE920203 At last 03 which means the "Incorrect Message Length"