Delphi7 capture HTTPS web content, use the indy control (has ssleay32. DLL and libeay32 the two DLL in exe directory,) but it's still an error: Could not load the SSL library. Seek guidance
CodePudding user response:
use IdHTTP Delphi7 access based on SSL protocol (HTTPS) website Reference
put a TIdHTTP control on the interface, named IdHTTP1, put a TIdSSLIOHandlerSocket control, named IdSSLIOHandlerSocket1, set for IdSSLIOHandlerSocket1 IdHTTP1 IOHandler attribute, so you can Get, Post the address for begins HTTPS site, But it still doesn't work, when running the program, an error "Could not load the SSL library", this is because the TIdSSLIOHandlerSocket controls need to OpenSSL library to cooperate, the OpenSSL library consists of two dynamic link library libeay32. DLL and ssleay32. DLL, Suitable for delphi7 openssl site download http://www.wesoho.com/soft/down/openssl.rar To release the rar unpack the two DLL directory to your program, but after I have done post data or not, found idhttp there's a version of the option Method, the default is sslvSSLv2, sslvSSLv3 instead, post data returned to normal, yeah ~ careful looked, this property is IdSSLIOHandlerSocket1, CodePudding user response:
HTTS use indy library need two SSL DLL, CodePudding user response:
D7 + indy10.5.7 Use IdHTTP + IdSSLIOHandlerSocketOpenSSL controls, copy the box on the download DLL ver1.0.0.7 Indy10 SSL libeay32. DLL ssleay32. http://www.2ccc.com/demodown.asp? Articleid=6380 Str:='https://host/dlicense/v2/account/handshake'; RS:=IdHTTP1. Get (Str); But still could not load SSL Library error, a bit of a crash, seek counsel CodePudding user response:
Ha ha,, just to solve this problem, last week, is your 2 DLL version of the problem CodePudding user response:
I also feel is a version of the problem CodePudding user response:
In is in your own computer before I can post and get the exe to other people's computer error an error "Could not load the SSL library", " IdSSLIOHandlerSocket1. Method:=sslvTLSv1; Can only be sslvTLSv1 otherwise an error, Environment for Delphi xe6 Someone and I meet the same situation?