There are several ways. Heres a couple of solutions:

Option 1.

1. Using Netscape create a signed mail message.
2. Save it with "save draft".
3. Observe the "signed" icon.
4. Save it as html to a file with the html extension (otherwise you lose
the signing info for some reason).
5. Manually insert -----BEGIN PKCS7----- and -----END PKCS7----- around
the base64 encoded data.
6. do a pkcs7 -in whetever.html -print_certs -out certs.pem
7. Have a look in certs.pem, it will include your certificate and the
one you are after.

Option 2.

1. Get and apply my PKCS#12 patch: see
http://www.drh-consultancy.demon.co.uk/pkcs12faq.html
2. Export a verision certificate (security->yours->export).
3. Do a ssleay pkcs12 -in file.p12 -nokeys -cacerts -out certs.pem
4. certs.pem contains all the certificates you want.


Steve.
-- 
************************************************
* Dr Stephen N. Henson.                        *
* Freelance Cryptographic Consultant.          *
* Email: [EMAIL PROTECTED]                   * 
************************************************


+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to