"Key size" error when setting a custom SSL certificate in Element Software
Applies to
- Element Software version 12.0 and above
- Element Management Node (mNode) version 12.0 and above
Issue
When attempting to install a custom SSL Certificate on an Element cluster or Element mNode using the SetSSLCertificate
(cluster) or SetNodeSSLCertificate
(mNode) API methods, the operation fails with the following error:
"Key size [submitted_key_length] should be a minimum of 2048 bit for RSA
"
For instance:
Key size [1024] should be a minimum of 2048 bit for RSA
when attempting to apply a key of bit length 1024.
Full example:
{
"error": {
"code": 500,
"message": "Key size [1024] should be a minimum of 2048 bit for RSA",
"name": "xInvalidCertificate"
},
"id": null
}