Forum > Networking and Web Programming

InitSSLInterface and OpenSSL problem

(1/2) > >>

lazzaro2023:
Hello everyone, I kindly need your assistance:
I am encountering an issue while using fphttpclient, opensslsockets, fpopenssl, and openssl, specifically with

InitSSLInterface

For my PC (specifically Windows 10) to function properly when making an internet call, could you please inform me which .dll files are required and in which folder I should include them to avoid the error message: "Could not Initialize Openssl Library"

Thank you in advance

domasz:
https://forum.lazarus.freepascal.org/index.php?topic=41401.0

lazzaro2023:

--- Quote from: domasz on November 19, 2023, 05:59:00 pm ---https://forum.lazarus.freepascal.org/index.php?topic=41401.0

--- End quote ---

I have read the thread in question and downloaded the indicated files. Subsequently, I uploaded them to the folder of my program, however the error persists. I wonder if there is another solution…

domasz:
Are the DLLs files in the same folder as your program's EXE?
Are they the same bitness as your program (64 bit or 32 bit)?

lazzaro2023:
Given that I have Windows 10, I downloaded the version openssl-1.0.2q-x64_86-win64, which contains the following files:

11/22/2018 04:53 PM 2,318 HashInfo.txt
11/22/2018 04:53 PM 2,281,984 libeay32.dll
08/31/2016 12:14 PM 6,404 OpenSSL License.txt
11/22/2018 04:53 PM 548,352 openssl.exe
11/22/2018 04:53 PM 2,722 ReadMe.txt
11/22/2018 04:53 PM 386,560 ssleay32.dll

I have downloaded all the versions and the files are always the same. Does the 32 in the name of the dll file indicate that it is 32-bit? Also, are the only files I need to add to the folder where I have the program just the dll files?"

I use Lazarus 2.2.6 and fpc 3.2.2

Navigation

[0] Message Index

[#] Next page

Go to full version