Recent

Author Topic: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?  (Read 6674 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 16520
  • Kallstadt seems a good place to evict Trump to.
Re: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?
« Reply #15 on: January 12, 2025, 10:03:40 am »
So? OpenSSL is not installed, has the wrong bitness (32 or 64) or is not correctly installed.
For 32 bit programs you need 32 bit OpenSSL binaries
For 64 bit programs you need 64 bit OpenSSL binaries
And your program needs to be able to find them.
OpenSSL as such is not part of Indy, although the official Indy website does provide OpenSSL binaries in both 32 and 64 bit flavors for your convenience.
« Last Edit: January 12, 2025, 10:11:22 am by Thaddy »
But I am sure they don't want the Trumps back...

DragoRosso

  • New Member
  • *
  • Posts: 46
Re: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?
« Reply #16 on: January 12, 2025, 01:59:07 pm »
You must use for your convenience the two dll:

- libeay32.dll
- ssleay32.dll

These file are inside the zip files:

for 64 bit application
- openssl-1.0.2u-x64_86-win64.zip

for 32 bit application
- openssl-1.0.2u-i386-win32.zip

This is the repository of Indy:

https://github.com/IndySockets/OpenSSL-Binaries

Thaddy

  • Hero Member
  • *****
  • Posts: 16520
  • Kallstadt seems a good place to evict Trump to.
Re: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?
« Reply #17 on: January 12, 2025, 07:03:36 pm »
Tnx for adding the paths, I forgot, because I do not use Indy. I use fcl-net/fcl-web only and compile openssl from source.(not recommended for casual users! be warned.)
But those also need the proper OpenSSL or alternative installed.
« Last Edit: January 12, 2025, 07:06:01 pm by Thaddy »
But I am sure they don't want the Trumps back...

OC DelGuy

  • Full Member
  • ***
  • Posts: 147
Re: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?
« Reply #18 on: January 17, 2025, 01:29:20 am »
So? OpenSSL is not installed, has the wrong bitness (32 or 64) or is not correctly installed.
I'm running Windows11 64 bit, so I assume Laz is compiling in 64bit.  How do I check if it's installed, if it's 64 bit, and if it's installed correctly?

And your program needs to be able to find them.
How do I make sure it does?


And how do I install the .DLL's (if indeed they're not installed).  I downloaded a Zip file and it just has the .DLL files.  Do I need to just copy them to a specific directory?  Do I need to do something in the IDE settings so it knows they're there? 
Free Pascal Lazarus Version #: 2.2.4
Date: 24 SEP 2022
FPC Version: 3.2.2
Revision: Lazarus_2_2_4
x86_64-win64-win32/win64

rvk

  • Hero Member
  • *****
  • Posts: 6658
Re: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?
« Reply #19 on: January 17, 2025, 06:16:57 am »
And how do I install the .DLL's (if indeed they're not installed).  I downloaded a Zip file and it just has the .DLL files.  Do I need to just copy them to a specific directory?  Do I need to do something in the IDE settings so it knows they're there?
Just copy them to your exe directory.

(I know not everyone agrees but it's the easiest and safest way.)

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1463
    • Lebeau Software
Re: Where do I get IdHTTP, IdSSL, IdGlobal and IdSSLOpenSSL Units?
« Reply #20 on: January 17, 2025, 10:35:12 am »
Just copy them to your exe directory.

(I know not everyone agrees but it's the easiest and safest way.)

Agreed. However, you can copy the DLLs to whatever folder you want. But, if that folder is not on the system search path, you can use the IdOpenSSLSetLibPath() function to tell Indy where it is.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

 

TinyPortal © 2005-2018