RE: SSL_use_certificate_chain_file error

2006-12-25 Thread Edward Chan
Is the cert PEM or ASN1 encoded?  I think
SSL_use_certificate_chain_file() only works with PEM.  Are you passing
SSL_FILETYPE_ASN1 for the type parameter to SSL_use_certificate_file()?
If so, that might explain why one works and the other doesn't.
 
Ed




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sendil kumar
Sent: Sunday, December 24, 2006 10:39 PM
To: openssl-users@openssl.org
Subject: SSL_use_certificate_chain_file error


Hi All,
 
When I connect a SSL client from windows to SSL server in unix,
the SSL_use_certificate_chain_file errors out and returns zero and when
I see the error stack there were no errors in it but at that same time
when I use SSL_use_certificate_file it runs fine. I was unable to trace
the error. Could you please help me, this is a P1 bug reported in my
application by the user and I need to solve this as quickly as possible.

 
Thanks,
Sendil Kumar,
Software Engineer,
Brooks Software,
India.



Inbox full of spam?
http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spam_1gb/*htt
p://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html
Get leading spam protection and 1GB storage with All New Yahoo! Mail.



Re: SSL_use_certificate_chain_file error

2006-12-25 Thread Sendil kumar
Hi Edward,

The file type is PEM and SSL_use_certificate_file works fine. The problem is 
with the SSL_use_certificate_chain_file.

 let I put some points for more clarification.
In my application all the certificates are in PEM format and
1.  Client wiil not validate the server certificate.
2.  Server certificate is signed by only one root CA.
3.  The file which i mentioned in the SSL_use_certificate_chain_file contains 
only the servercertificate and not the root CA.
4. The application works fine when I use SSL_use_certificate_fileinstead of 
SSL_use_certificate_chain_file
5. In case of connection between SSL client and server in windows, both the 
function SSL_use_certificate_file and SSL_use_certificate_chain_file works 
fine evne the file doesn't contain the root CA certificate.

Thanks,
Sendil


- Original Message 
From: Edward Chan [EMAIL PROTECTED]
To: openssl-users@openssl.org
Sent: Tuesday, 26 December, 2006 4:19:04 AM
Subject: RE: SSL_use_certificate_chain_file error


Is the cert PEM or ASN1 encoded?  I think SSL_use_certificate_chain_file() only 
works with PEM.  Are you passing SSL_FILETYPE_ASN1 for the type parameter to 
SSL_use_certificate_file()?  If so, that might explain why one works and the 
other doesn't.
 
Ed




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sendil kumar
Sent: Sunday, December 24, 2006 10:39 PM
To: openssl-users@openssl.org
Subject: SSL_use_certificate_chain_file error


Hi All,
 
When I connect a SSL client from windows to SSL server in unix, the 
SSL_use_certificate_chain_file errors out and returns zero and when I see the 
error stack there were no errors in it but at that same time when I use 
SSL_use_certificate_file it runs fine. I was unable to trace the error. Could 
you please help me, this is a P1 bug reported in my application by the user and 
I need to solve this as quickly as possible. 
 
Thanks,
Sendil Kumar,
Software Engineer,
Brooks Software,
India.



Inbox full of spam? Get leading spam protection and 1GB storage with All New 
Yahoo! Mail.

Send instant messages to your online friends http://uk.messenger.yahoo.com 

OpenSSL Installation problem on winxp serveice pack1

2006-12-25 Thread Abhishek Tripathi

Hi All ,

  I got a very strange problem regarding installation of OpenSSL on two
machines.I installed Active Perl version(
ActivePerl-5.8.8.819-MSWin32-x86-267479)on both machines in which one
machine have WINXP Service Pack1 and the other machine have WINXP Service
Pack 2 OS.I tried to install the OpenSSL 0.9.8d on both machine.The Machine
having SP2 doesn't create any problem and OpenSSL get install successfully
but the other machine which have have SP1 throws error

  Can't locate
strict.pm in @INC at Configure line 9.
  BEGIN
failed--compilation aborted at Configure line 9.

on executing the command  perl configure VC-WIN32 --prefix=c:/OpenSSL

Is there any constraint on Perl and OpenSSL version based on Operating
System.

Thanks in Advance.


I