s-handshake_func

2005-11-12 Thread M G
Hi list, I'm in the middle of my SSL_accept call. When I trace into it, the s-handshake_func is NULL (within OpenSSL's ssl_lib.c file). There is a comment there that reads, not properly initialized yet. What type of initialization will give me my handshake function? Thank you very much!

General question on SSL

2005-10-27 Thread M G
Hi list, My goal is to create mutual authentication for small business (each client app is also a server that can share data securely), is there a way to use SSL the "normal" way i.e., to create an X509 store, set verify function, use certificates, etc, ... but not require usrs to sign with a CA

Re: General question on SSL

2005-10-27 Thread M G
[EMAIL PROTECTED] wrote: On Thursday 27 October 2005 07:25, M G wrote: Hi list, My goal is to create mutual authentication for small business (each client app is also a server that can share data securely), is there a way to use SSL the normal way i.e., to create an X509 store, set

Re: General question on SSL

2005-10-27 Thread M G
completes successfully, the connection will be usable even though the certificate wasn't verified. It will be up to you to check the peer X509* however you please before reading or writing data to the newly formed SSL connection. -Justin On Thursday 27 October 2005 15:21, M G wrote

Re: X509 digest different after write and read to-from PEM

2005-10-25 Thread M G
. Stephen Henson [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005, M G wrote: Hi Dr. Henson, Thanks in advance for taking a look: Here is my code that creates the certificate (I removed the checks on return values - they were fine) m_pX509 = X509_new(); X509_set_version(m_pX509

Re: X509 digest different after write and read to-from PEM

2005-10-25 Thread M G
Dr. Henson, Looks like the check on the 0 and not just != -1 did the trick! Thank you for helping me! Cheers! --- Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Tue, Oct 25, 2005, M G wrote: Hi Dr. Henson, You were wondering what code I used to produce the digest: I used my X509

Re: X509 digest different after write and read to-from PEM

2005-10-24 Thread M G
) != -1) { strTemp = pData; strTemp = strTemp.Mid(0, nLengthRead); S += strTemp; } return S;} "Dr. Stephen Henson" [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005, M G wrote: Hi Dr. Henson, Thanks in advance for taking a look: Here is my code that creates the certificate (I removed the che

How can I get a fingerprint on a certificate that does not change for any instance?

2005-10-24 Thread M G
Hi list, How can I get a fingerprint on an X509 certificate that is constant before and after I write it out to PEM format? For some reason, my fingerprint changes when I take my X509, write it to PEM with PEM_write_bio_X509 and read it back with PEM_read_bio_X509... Is this proper behavior?

Re: X509 digest different after write and read to-from PEM

2005-10-23 Thread M G
me,"CN",MBSTRING_ASC,szCN,-1,-1,0); //self signed: X509_set_issuer_name(m_pX509, pName); X509_sign(m_pX509, pEVP, EVP_sha1()); That is all I do... Am I missing something important? Thank you very much! "Dr. Stephen Henson" [EMAIL PROTECTED] wrote: On Sat, Oct 22, 2005, M G

X509

2005-10-22 Thread M G
Hi List, Does anyone know why an X509 digest wouldbe different after the X509 is written out and read back into another X509 from PEM? Thanks! Find your next car at Yahoo! Canada Autos

Re: X509

2005-10-22 Thread M G
Could this software bug be something I forgot to add to my certificate when creating it? i.e., I newly create the X509 and use PEM_write_bio_X509 and PEM_read_bio_x509... Checking the digest on these 2 X509s is *supposed* to have the same fingerprint? I am really not doing much here - just writing

X509 digest different after write and read to-from PEM

2005-10-22 Thread M G
Hi list, I noticed that the DER string representation was very very similar (longer by one byte) and only different by very few bytes... i.e., they are almost exactly the same thing I am trying to get to the cause of why the digest differs between them Any ideas? Find your next car at

certificate digest different results before writing to PEM?

2005-10-21 Thread M G
Hi list, I'm trying to calculate a certificate digest using X509_digest. I created an X509 certificate (self-signed) programmatically with X509_new (and I set the version and the organization and country etc with X509_NAME_add_entry_by_txt).. I then call X509_set_issuer_name and use X509_sign to