Welcome, Guest
Username: Password: Remember me
Components and Libraries for Networking Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

TIdSSLIOHandlerSocketOpenSSL 12 years 4 months ago #2822

  • William
  • William's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 57
  • Thank you received: 1
Wonder why there is no IdSSLIOHandlerSocketOpenSSL component in the Indy10 handle components? I can't seem to create a client that can make ssl connections. Any other way to create ssl connections? Thanks.

Please Log in or Create an account to join the conversation.

TIdSSLIOHandlerSocketOpenSSL 11 years 11 months ago #3692

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Bump!
I need it too!
The problem is TIdSSLIOHandlerSocketOpenSSL can be created in run time but it can't load ssl library.
For Windows there are 2 librares, mentioned at embarcadero delphi forums (as well as at stackoverflow), but for Linux there are no solution.

The only suggestion I found was to do this:
ssl:=TIdSSLIOHandlerSocketOpenSSL.Create(self);
     ssl.SSLOptions.Method:=sslvSSLv23;
     IdHTTP1.IOHandler:=ssl;
But this is not working!

TIdSSLIOHandlerSocketOpenSSL still can't find .so file despite BOTH of them (libssl.so and libcrypt.so) are in /usr/lib folder.

Moreover, running "openssl version" in terrminal gives me "OpenSSL 1.0.1 14 Mar 2012", but calling "showmessage(OpenSSLVersion);" returns an empty string :(

Sternas, please, check this...
(And please, check my win xp sp3 VS ct 4.2 thread...)
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1