I cannot get a simple https get to work. And worse, I cannot get a proper error message. I tried with couple of diffrent addresses, same results. --------- HTTP := THTTPSend.Create; HTTP.Protocol:='1.1' ; Http.Sock.CreateWithSSL(TSSLOpenSSL); if not HTTP.HTTPMethod('GET','https://www.openssl.org/') then begin writeln('HTTP.Sock.LastError :',HTTP.Sock.LastError, ' /errordesc=" ' ,HTTP.Sock.LastErrorDesc,'"'); writeln('HTTP.Sock.SSL.LastError :',HTTP.Sock.SSL.LastError, ' /errordesc="' ,HTTP.Sock.SSL.LastErrorDesc,'"'); end ------------- and whether I have loaded cert-files or not, I'm getting HTTP.Sock.LastError :-2 /errordesc="" HTTP.Sock.SSL.LastError :1 ; /errordesc=""
with empty error descriptions. ssl error #1 is perhaps this? http://synapse.ararat.cz/doc/help/ssl_openssl_lib.html#SSL_ERROR_SSL SSL_ERROR_SSL seems to be some generic error, and from what I gougeled, it seems I should try to get more specific error information. Any idea how? What is sock.lasterror -2? I have libssl.so.0.9.8 FPC version: 2.6.2 ubuntu 13.10 my ssl_openssl.pas starts with: Project : Ararat Synapse | 001.002.000 | |==============================================================================| I think I had this working about a year ago when I last used it using older fpc and ubuntu. -Timo ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public