To import a certificate you need the certificate (in .crt or .cer formats) and the key (in .key format) of the same, however the key must be without a password.
1. To resolve this error, use the command to remove the password from the key:
openssl rsa -in CertificateNameWithPassword.key -out CertificateNameWithoutPassword.key