--0-1975437339-1198739312=:965
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi all,

I am facing a strange issue with SSL_CTX_use_certificate_chain_file.

I get the following return error when I invoke it with location of my self signed certificate (in pem format ) as parameter :
--------------------------------------------
expecting an asn1 sequence
--------------------------------------------

I used the same certificate with the openssl s_server -cert .... command and it worked fine.

Inorder to rule out file permission problems I tried reading the cert file using functions in the same code and it was read successfully .

Any clues please...

Thanks in advance.
Ashish






---------------------------------
Never miss a thing. Make Yahoo your homepage.
--0-1975437339-1198739312=:965
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi all,
 
I am facing a strange issue with SSL_CTX_use_certificate_chain_file.
 
I get the following return error when I invoke it with location of my self signed certificate (in pem format ) as parameter :
--------------------------------------------
expecting an asn1 sequence
--------------------------------------------
 
I used the same certificate with the openssl s_server -cert .... command and it worked fine.
 
Inorder to rule out file permission problems I tried reading the cert file using <fstream > functions in the same code and it was read successfully .
 
Any clues please...
 
Thanks in advance.
Ashish
 

 
 
 






Never miss a thing. Make Yahoo your homepage.


--0-1975437339-1198739312=:965--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org