MCC-56949 Add fix to change if private key string is provided into RSA format

Please review :)