Arno Garrels wrote:
> marius gabi wrote:
>
>> I'm receiving the following message
>> in the SSLVerifyPeer event: Error = 7 (certificate signature
>> failure).
>
> In the OnSslVerifyPeer event please do the following logging and
> post the result:
>
> Log('Received certificate'#13#10 +
> 'Subject: "' + Cert.SubjectOneLine + '"'#13#10 +
> 'Issuer: "' + Cert.IssuerOneLine + '"'#13#10 +
> 'Verify result: ' + Cert.VerifyErrMsg +
> ' Verify depth: ' + IntToStr(Cert.VerifyDepth));
>
> Log(Cert.GetRawText);
Since it might happen that some certificate in the chain uses
an unsupported, deprecated hash algorithm. AFAIK, i.e. newer
OpenSSL DLLs are all built without MD2-support by default.
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be