On 25.8.2015 9:28, Lukas Gebauer wrote: >> I'm trying to use openssl on new server with 1.0.0 version >> /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 >> does synapse supports this version? I'm getting an error on simple >> program >> >> program test; >> uses classes, sysutils, httpsend, ssl_openssl, blcksock; >> >> var url: string; >> http: THTTPSend; >> res: TStringStream; >> begin >> >> url := 'https://www.google.com'; >> http := THTTPSend.Create; >> http.sock.SSL.SSLType:= LT_SSLv3; >> http.Sock.SSL.VerifyCert := false; >> http.Timeout := 10 * 1000; >> res := TStringStream.create(''); >> if http.HTTPMethod('GET',url) or true then >> begin >> res.CopyFrom(http.Document, http.Document.size); >> WriteLn(res.DataString); >> WriteLn(http.ResultCode); >> end; >> http.free; >> end. >> >> I'm getting result code 500 > I am trying version 1.0.1p on Windows, and it working fine. > Are you sure if your server supports SSLv3? It is usually disabled as > weak protocol now. Try to remove setting of http.sock.SSL.SSLType and > left default (it use best available protocol). > > > hello, this is linux version... yes, I've already tried that without SSLType
B. ------------------------------------------------------------------------------ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public