When working with SSL certificates which have been generated you sometimes need to toggle between RSA key to Private key . This depends mostly on middleware you are using

and vice versa