Hi,

Does the PEM file have any "Bag Attributes"  at the head of the file before 

"-----BEGIN CERTIFICATE-----"?   Not sure, but I have heard these can cause 
issues with conversions.

Regards,
Bill

-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of rockinein
Sent: Friday, May 25, 2012 8:58 AM
To: openssl-users@openssl.org
Subject: converting pem to der


Hi,

I need help with certificate chain (with intermediate CA). I need to convert 
pem to der.

There is a command:

openssl x509 -in something.pem -out something.der -outform der

Problem is that when I use this command and there are more CAs in pem (more 
begin/end certificate), it converts only 1st CA and cuts out others.

I need only der format :/.

What am I doing wrong?

Thanks alot.

Rockintein
--
View this message in context: 
http://old.nabble.com/converting-pem-to-der-tp33907769p33907769.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to