OpenSSL::PKey::RSAError: private key needed

I have things working until the ‘knife client list’ step. At this point, I am seeing this error:

OpenSSL::PKey::RSAError: private key needed.

Where should I be looking for the problem? I couldn’t see a ‘verbose’ setting to see any more logs.

Knife has a -V option for verbose, though most of the time you will want maximum verbosity, so use -VV. From what you’ve said, the issue is that you probably have a private key file which is malformed.

Yes, @kallistec, that was exactly the problem. I regenerated the keys, and I am good to go.

Thanks.