Re: [openssl-users] NULL EVP_PKEY

2015-04-22 Thread Dr. Stephen Henson
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 im

Re: [openssl-users] NULL EVP_PKEY

2015-04-21 Thread Vollaro, John
; Lichti, Richard Subject: Re: [openssl-users] NULL EVP_PKEY > I am having a problem reading a password protected private key file (.pem) > using the OpenSSL library (programmatically). Can you read it using the openssl command-line tool? -- Senior Architect, Akamai Technologies IM:

Re: [openssl-users] NULL EVP_PKEY

2015-04-20 Thread Salz, Rich
> I am having a problem reading a password protected private key file (.pem) > using the OpenSSL library (programmatically). Can you read it using the openssl command-line tool? -- Senior Architect, Akamai Technologies IM: richs...@jabber.at Twitter: RichSalz __

[openssl-users] NULL EVP_PKEY

2015-04-20 Thread Vollaro, John
I am having a problem reading a password protected private key file (.pem) using the OpenSSL library (programmatically). I just get a NULL key returned. I am using the OpenSSL 1.0.2a 19 Mar 2015 library in a Windows environment. The code snippet as follows: char *pemFileName = "C:\\Work\\mypemfi