Re: Re: openssl pkcs7 issue.

From: mike_josh@verizon.net
Date: Thu Oct 27 2005 - 10:23:48 EDT


Thankyou very much to Mr. Mike Adams for his valuable tips. It turned out that there was an extra line breaker somewhere in the middle of the cert that was generated by thawte. Had to delete the blank line and it worked just fine.

Mike.

>From: Mike Adams <mike.adams@unix-security.net>
>Date: Tue Oct 25 21:30:34 CDT 2005
>To: mike josh <mike_josh@verizon.net>
>Subject: Re: openssl pkcs7 issue.

>You probably have an extra linebreak at the end of the file..
>
>Either that, or there isn't one and there needs to be..
>
>Make sure you paste what they sent you EXACTLY.
>
>- Mike
>
>
>----- Original Message -----
>From: mike josh <mike_josh@verizon.net>
>To: sunmanagers@sunmanagers.org
>Sent: Monday, October 24, 2005 18:09:11
>Subject: openssl pkcs7 issue.
>
>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
_______________________________________________
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:34:05 EDT