Mario Fabiano wrote:
> 
> Sorry, I did a mistake.
> What I want to do is to convert from PEM to PKCS#7.
> I got the PEM format certificate processing with openssl a PKCS#10
> request, but what I actually need is a PKCS#7 certificate.
> 

You can use the 'crl2pkcs7' utility for this. It is used to package
certificates and CRLs into a PKCS#7 structure but you can omit the CRL
with:

openssl crl2pkcs7 -certfile cert.pem -nocrl -out p7cert.pem

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to