IO-Socket-SSL - Re: Client cert validation fails

Posted on Thu Jun 21 13:54:43 2007 by noxxi in response to 5500 (See the whole thread of 4)
Re: Client cert validation fails

I've send you the fixed source back.

But for the record, in case somebody searches the forum for the solution:
To check the client certificate the SSL_verify_mode must *include* 0x01 and to force it to fail if no client cert it must include 0x02, which means together 0x03 (bitmasks).
The other problem was that the server checked the peer certificate on the listening socket and not on the socket connected to the client

Write a response