[openssl-users] NULL EVP_PKEY

Dr. Stephen Henson steve at openssl.org
Wed Apr 22 13:10:59 UTC 2015


On Tue, Apr 21, 2015, Vollaro, John wrote:

> It does not work using the openssl command-line tool.
> I suspect that the .pem file I have only has the public key.
> 

It would help if you indicated what error you got from the openssl utility. If
the file only contains a public key it should exit immediately if it has a
private key and is encrypted it will prompt you for a passphrase.

Other problems (e.g. corrupted key) may result in ASN.1 parsing errors.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org


More information about the openssl-users mailing list