openssl pkcs7 issue.

From: mike_josh@verizon.net
Date: Mon Oct 24 2005 - 21:09:11 EDT


Hi Sun Gurus,

I am having an issue with openssl in solaris 9. Following is the descrtiption of what I have done and where I am stuck:

First of all, I generated a keypair by using the command:
$ openssl genrsa -out keyfile 1024

Next, I signed up with Thawte's Freemail program and request a new
certificate, and chose the option "Developers of New Security Applications ONLY". I Checked the box that says
"Paste in CSR Certificate Enrollment". Then clicked
 the test button.

when it came to the point that the screen asked me to make the certificate request, I copied the 16 character long garbag string as the Common name, and used the following command:

$ openssl req -new -key keyfile

answered the questions that it came up, and pasted the 16 characters long garbage string for the common name. After I got the confirmation email from Thwate saying that my certifciate has been generated, I went to the email and go the large base64 encoded chunks. I got the second chunk which the PKCS stuffs.

I copied those stuffs and put it in a file name as cert., and used the following command:

$ openssl pkcs7 -print_certs -in cert -out tempcert

Soon after I use this command, I get the following error message:

Unable to load PKCS7 object
10242:error:0906D066:PEM routines:PEM_read_bio:bad end line:pem_lib.c:743:

Any sort of help would be appreciated.
Thanks in advance.

Mike.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:33:38 EDT