Unable to set the private key

Error code 36
Error constant SECURE_SET_PRIVATE_KEY
Probable cause

The private key could not be used. Check the following: 1) The password was entered correctly. 2) The certificate file contains one or more certificates. 3) The certificate file contains the correct certificate(s). 4) The certificate file is undamaged.