I encountered the same error. In my case, I was pointing to the incorrect path for the private key. It was resolved after correcting it.