indy10

Delphi : SSL routines:SSL3_GET_RECORD:wrong version number

倾然丶 夕夏残阳落幕 提交于 2021-01-29 21:15:44
问题 I found several topics about the same problem but it didn't help me to resolve my problem. I'm trying to connect to a FTPS server (with Delphi 10.3) using this code: IdSSLIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil); IdSSLIOHandler.SSLOptions.Method := sslvSSLv3; IdSSLIOHandler.SSLOptions.SSLVersions := [sslvSSLv2, sslvSSLv23, sslvSSLv3, sslvTLSv1,sslvTLSv1_1,sslvTLSv1_2]; IdFTP.IOHandler := IdSSLIOHandler; IdFtp.UseTLS := utUseExplicitTLS; IdFtp.DataPortProtection := ftpdpsPrivate;

Dynamically making indy use TLSv1.2

帅比萌擦擦* 提交于 2020-12-30 08:50:08
问题 GitHub has stopped supporting TLS v1.0 and v1.1 (https://githubengineering.com/crypto-deprecation-notice/), so my code no longer wants to download from it. I have checked and it seems I need to make Indy use TLS v1.2, as stated here: Using Indy 10 IdHTTP with TLS 1.2. I have already updated the OpenSSL DLLs to the latest from http://indy.fulgan.com/SSL/, and Indy seems to load them fine, but I still get an error. The error I get: How can I make Indy use TLS v1.2 if I dynamically create Indy

Upgrade Indy library to use latest OpenSSL library

别来无恙 提交于 2020-06-25 05:40:29
问题 What is the process of upgrading Indy library written in Delphi to use the latest OpenSSL library having the newest features (eg. TLS v1.3)? The last version of Indy library I found uses libssl32.dll and ssleay32.dll DLLs. The latest OpenSSL library produces libssl-1_1.dll and libcrypto-1_1.dll DLLs. By changing the DLL names in Indy libray the dynamic loading of OpenSSL DLLs fails because many functions defined in Indy do not match the functions of OpenSSL DLLs. Thus OpenSSL API was changed.

How can we connect with a website? Getting SSL error 1409442E

♀尐吖头ヾ 提交于 2020-03-16 06:22:17
问题 I am using Delphi 10.2 Tokyo, trying to download some information from a web server. I pass the command URL https://poloniex.com/public?command=returnCurrencies through this function using Indy 10.6.2.5366 (the command works if I paste it in a browser): function ReadHTTPS(const url: string): string; var IdHTTP: TIdHTTP; IdSSL: TIdSSLIOHandlerSocketOpenSSL; begin IdHTTP := TIdHTTP.Create; try IdSSL := TIdSSLIOHandlerSocketOpenSSL.Create(IdHTTP); IdHTTP.IOHandler := IdSSL; result := IdHTTP.Get

How can we connect with a website? Getting SSL error 1409442E

两盒软妹~` 提交于 2020-03-16 06:22:01
问题 I am using Delphi 10.2 Tokyo, trying to download some information from a web server. I pass the command URL https://poloniex.com/public?command=returnCurrencies through this function using Indy 10.6.2.5366 (the command works if I paste it in a browser): function ReadHTTPS(const url: string): string; var IdHTTP: TIdHTTP; IdSSL: TIdSSLIOHandlerSocketOpenSSL; begin IdHTTP := TIdHTTP.Create; try IdSSL := TIdSSLIOHandlerSocketOpenSSL.Create(IdHTTP); IdHTTP.IOHandler := IdSSL; result := IdHTTP.Get

Web request property “URL” is empty

流过昼夜 提交于 2020-01-25 01:44:17
问题 I'm trying to figure out how to read the full URI from a request ( Web.HTTPApp.TWebRequest ). There is a URL property, however it returns empty, and I don't see any more properties which could give me this. How can I get the complete URI of the request? This is being used via Indy 10 TIdHTTPWebBrokerBridge . For example... http://www.mydomain.com:18500/SomePath/SomeFile.html?n=v&a=b I tried tracking this URL property and found that in IdHTTPWebBrokerBridge.pas this is being left blank,

Indy 10 + SSL = works in Windows 7, does not work on XP

人盡茶涼 提交于 2020-01-24 08:54:28
问题 I'm using the Indy 10 Http Client (latest SVN build) and a SSL Handler (Delphi 7) to get the content of the https://www.webtide.com/choose/jetty.jsp website. It works fine on Windows 7 x64 (tested on two systems), but on WindowsXP x86 (tested on 3 systems) the test app simply hangs on TIdHTTP.Get() without the possibility of a recovery (meaning even disconnecting in a worker-procedure/thread does not work!). The test app cannot be recovered and must be closed with the task manager. The SSL

Indy 10 + SSL = works in Windows 7, does not work on XP

你说的曾经没有我的故事 提交于 2020-01-24 08:53:13
问题 I'm using the Indy 10 Http Client (latest SVN build) and a SSL Handler (Delphi 7) to get the content of the https://www.webtide.com/choose/jetty.jsp website. It works fine on Windows 7 x64 (tested on two systems), but on WindowsXP x86 (tested on 3 systems) the test app simply hangs on TIdHTTP.Get() without the possibility of a recovery (meaning even disconnecting in a worker-procedure/thread does not work!). The test app cannot be recovered and must be closed with the task manager. The SSL

Upgrading Delphi 7 Indy 9 app. to Indy 10

大兔子大兔子 提交于 2020-01-07 02:56:23
问题 I have inherited an extensive (199 commands) Delphi 7 Indy 9 app that I am upgrading to Indy 10 (in D10.1). I have upgraded all the code, and it compiles and runs. The problem I have is that now in Indy 10 all the handlers also return a response code (and text) in addition to the coded response that they did under Indy 9. For example: // server procedure TFormMain.IdCmdTCPServer1loginCommand(ASender: TIdCommand); var Rights: String; begin if BillingUserRegistered(ASender.Params[0], ASender