I am getting this error when I try to use some ruby OepnSSL libraries
to obtain the private key from my private key PEM file.

I have tried this on the SSL credentials I got for my web-site from
GoDaddy.com - The site works fine and credentials are recognized in IE
and FF.

I tried generating my own RSA key directly on my Mac - to avoid any
possibility of errors on transferring.

I ran this command on the Mac
  openssl genrsa -out privkey.pem 1024


Then I ran this command in a ruby rails development console where f is
the file holding the private key
key = OpenSSL::PKey::RSA.new(f.read)

Then I ran this command to generate a self-signed certificate
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095

Just to try it, I also tried it pointing to the certificate file

In both instances, I get the same error message

Any ideas what might be going on, and what I can do to overcome this ?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to