Link to home
Start Free TrialLog in
Avatar of Buropro-Citation
Buropro-CitationFlag for Canada

asked on

Error connecting with SSL (Indy 9)

Hi everyone, I'm a delphi 5 programmer and I'm using indy 9 to send a SOAP file, this is pretty new to me but I was able to create a idhtttp object and connect to the right url but when I post the file, I'm getting this error:
error connecting with SSL

I have tried downloading libeay32.dll and ssleay32.dll but still, this error shows up, these are made for indy 9 but I can't really know if they are the right version exactly.   Any suggestions on what I should do?
Avatar of 2266180
2266180
Flag of United States of America image

what is the exact error? did you set up ssl correctly? make sure the ssl version is set up correctly as well.
you can take a peek at some of my ssl indy examples here: http://www.ciuly.com/delphi/indy/
Avatar of Buropro-Citation

ASKER

The error is a EidOSSLconnectError exception, the exact error message is 'error connecting with SSL', not much detail in there unfortunatly.

I haven't set up the SSL tough, I have installed indy 9 and then copied the 2 dll mentioned earlier in my project directory, can you show me how to set it up?

On the internet I was able to find indy_openssl096.zip which was supposed to work with indy 9 (I have installed indy indy9.0.18_d5) I'm not sure if this was ok...
>> can you show me how to set it up?

I gave you link to some projects. the best explanation there is: an example. 3 of them actually

when I say setup I don't mean install in the system. I mean setup the components correctly (connect sslhandler to http compone,t  set CORRECT version for the ssl (some site use v3, etc).
Thank you Ciuly, I saw the projects you were talking  about yesterday, none of them are sending  a SOAP file like I need to do.  It seems that they are in a more advanced version then mine since I'm using delphi 5 and I'm also missing some functions like 'posex' for example.
ASKER CERTIFIED SOLUTION
Avatar of 2266180
2266180
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial