Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTPS

Status
Not open for further replies.

jackmason

Programmer
Jul 28, 2009
13
US
We have to have an HTTPS connection to one our vendors sites by October. Can the Indy 9 or 10 library be used to piece together an HTTPS connection? We can use D7 or D2006. Help?
 
yes.

set up your TIdHTTP object like this:

Code:
var
  h : TIdHTTP;
begin
  h := TIdHTTP.Create;
  h.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create;
  TIdSSLIOHandlerSocketOpenSSL(h.IOHandler).SSLOptions.Method := sslvSSLv3;

Search your harddrive for these two files:

libeay32.dll
ssleay32.dll

If you find them, copy them to where your project's .EXE runs from. If you can't find them, go to or download a popular FTP program - they usually come with these files once installed.
 
Thank you VERY much!!!! You definitely made my day!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top