Hi,

I converted PEMformat certificate & key to DER format using these commands
:-
CA certificate :-
openssl x509 -in demoCA/cacert.pem -inform PEM -out demoCA/cacert.der
-outform DER

Own certificate: -
openssl x509  -in tester_cert.pem -inform PEM -out tester_cert.der -outform
DER

Private Key: -
openssl rsa -in tester_key.pem -inform PEM -out tester_key.der -outform DER

But now I start negotation using racoon, during negotation it gives error:-

2007-11-02 16:16:19: DEBUG: filename: /etc/IPSec/certs/tester_cert.der
2007-11-02 16:16:59: ERROR: failed to get my CERT.
2007-11-02 16:16:59: ERROR: failed to get own CERT.
2007-11-02 16:16:59: ERROR: failed get my ID
2007-11-02 16:16:59: ERROR: failed to process packet.
2007-11-02 16:16:59: ERROR: phase1 negotiation failed.


If I use PEM format files it works fine.
please any one help me.

Thanks,
Vaibhav

-- 
View this message in context: 
http://www.nabble.com/Query-regarding-DER-format-certificate---key-tf4796744.html#a13722646
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to