BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help on HTTPS / SSL using Indy 9.0

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Virgil
Guest





PostPosted: Tue Jan 20, 2004 5:04 am    Post subject: Help on HTTPS / SSL using Indy 9.0 Reply with quote



Hy guys

I'm working on a project that needs to connect to a URL using HTTPS for
posting and XML file.
The site does not require certificates but only a username and password
authentification that will be set through the HTTP headers.

My development environment is Delphi 7 with the default Indy 9 components
installed.

The Indy 9 documentation states that I can use HTTPS from the TIdHTTP
component

" ... TIdHTTP also supports the Secure Hypertext Transport protocol (HTTPS)
as described in the Internet Standards document ...
Assign an instance of TIdConnectionInterceptOpenSSL to the Intercept
property to allow use of the HTTPS protocol. For the Windows platform, you
must install the Indy OpenSSL support .DLL's available at
http://www.intelicom.si to enable Secure Socket Layer support."

I have downloded the OpenSSL dll's to my system but I can't seem to find
anywhere the declaration of the TIdConnectionInterceptOpenSSL class to use.

Can anyone give me some guidance.

Thank you for your time.
Andrew


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Jan 20, 2004 6:34 am    Post subject: Re: Help on HTTPS / SSL using Indy 9.0 Reply with quote



"Virgil" <virgil (AT) accountingit (DOT) com.au> wrote


Quote:
I have downloded the OpenSSL dll's to my system

Just making sure, you did download the Indy-specific version of OpenSSL and
not the open-source freeware version, correct?

Quote:
but I can't seem to find anywhere the declaration of the
TIdConnectionInterceptOpenSSL class to use.

The documentation is wrong in that it mentions the wrong class name. The
correct name is TIdSSLIOHandlerSocket. And, as you can see by its name, it
is not an Intercept but an IOHandler instead. The blurb you quoted is
probably a left-over from an older version of Indy.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.