Recent

Author Topic: [Mystery: SOLVED; Solution: Pending] Indy10 cannot find the SSL libs  (Read 3222 times)

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 579
  • Professional amateur ;-P
Hey Remy,

My setup:
Code: Bash  [Select][+][-]
  1. $ cat /etc/os-release
  2. NAME="Ubuntu"
  3. VERSION="21.04 (Hirsute Hippo)"
  4. ID=ubuntu
  5. ID_LIKE=debian
  6. PRETTY_NAME="Ubuntu 21.04"
  7. VERSION_ID="21.04"
  8. HOME_URL="https://www.ubuntu.com/"
  9. SUPPORT_URL="https://help.ubuntu.com/"
  10. BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
  11. PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
  12. VERSION_CODENAME=hirsute
  13. UBUNTU_CODENAME=hirsute

Code: Bash  [Select][+][-]
  1. $ apt list --installed | grep openssl
  2. openssl/hirsute,now 1.1.1j-1ubuntu3 amd64 [installed,automatic]

Tested on:
Lazarus 2.1 / FPC 3.3.1
AND
Lazarus 2.0.12 / FPC 3.2.2

Indy10 from OPM at version indilaz 10.6.2.3662

On the attached code when I try to visit an HTTPS site it give me and exceptions with message: "Could not load SSL library."

What am I missing, since on this topic no one complained that my code was not finding the SSL libs.

Many thanks in advance!!

Cheers,
Gus
« Last Edit: June 03, 2021, 01:12:39 pm by Gustavo 'Gus' Carreno »
Lazarus 2.3.0(trunk) FPC 3.3.1(trunk) Ubuntu 21.04 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.2(stable) Ubuntu 21.04 64b Dark Theme
http://github.com/gcarreno

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 957
    • Lebeau Software
Re: Indy10 cannot find the SSL libs
« Reply #1 on: June 02, 2021, 06:08:08 pm »
Code: Bash  [Select][+][-]
  1. $ apt list --installed | grep openssl
  2. openssl/hirsute,now 1.1.1j-1ubuntu3 amd64 [installed,automatic]

Indy's default TIdSSLIOHandlerSocketOpenSSL component only supports OpenSSL 1.0.2 and earlier.  Support for OpenSSL 1.1.x is being implemented as a separate SSLIOHandler, but it is still a work in progress. You can try it out and see if it works for you, but I don't know if it supports Ubuntu or not.
« Last Edit: June 02, 2021, 06:10:07 pm by Remy Lebeau »
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 579
  • Professional amateur ;-P
Re: Indy10 cannot find the SSL libs
« Reply #2 on: June 03, 2021, 12:59:12 pm »
Hey Remy,

I kinda had my suspicions that the newest version of OpenSSL was the issue. Thanks for confirming that!!

And my memory is really bad, cuz the PR that you've linked, I've already had a look in the past :-[

Thanks for the good work on it.

Do you have a rough estimate of when you can close or merge that PR?
No pressure. If you're unable to do so just say so. I'm fully aware of the lack of time that OSS maintainer have ;)

Cheers,
Gus
Lazarus 2.3.0(trunk) FPC 3.3.1(trunk) Ubuntu 21.04 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.2(stable) Ubuntu 21.04 64b Dark Theme
http://github.com/gcarreno

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 957
    • Lebeau Software
Re: Indy10 cannot find the SSL libs
« Reply #3 on: June 03, 2021, 05:15:41 pm »
Thanks for the good work on it.

It is not my work, actually.  Someone else is working on it.

Do you have a rough estimate of when you can close or merge that PR?

Not at this time.  I've been following the discussions on it, but I haven't had a chance to review any of the new code for it yet.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 579
  • Professional amateur ;-P
Re: Indy10 cannot find the SSL libs
« Reply #4 on: June 04, 2021, 04:56:21 am »
Hey Remy,

It is not my work, actually.  Someone else is working on it.

Well, then, can you convey my well wishings? Thanks Remy!

Not at this time.  I've been following the discussions on it, but I haven't had a chance to review any of the new code for it yet.

That's kewl, no probs. I'm confident that we'll have a solution during this year ;)

Cheers,
Gus
Lazarus 2.3.0(trunk) FPC 3.3.1(trunk) Ubuntu 21.04 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.2(stable) Ubuntu 21.04 64b Dark Theme
http://github.com/gcarreno

 

TinyPortal © 2005-2018