Jump to content
alank2

OpenSSL version questions...

Recommended Posts

I had a program using TIdSMTP that works fine on my Windows 10 box using ssleay32.dll/libeay32.dll version 1.0.1.13, but when I try to execute it on a Windows 11 box, it fails if I have TLS enabled.  If I disable TLS, it will work with the SMTP service I am using (mailgun) and send the email.  I found this page:

 

https://docwiki.embarcadero.com/RADStudio/Rio/en/OpenSSL#32-bit_and_64-bit_Windows

 

Which let me to downloading openssl-1.0.2r-i386-win32.zip which had the ssleay32.dll/libeay32.dll version 1.0.2.17 versions which now will work with TLS enabled - so these newer versions do solve this problem, but it says the zip is 5 years old at github.

 

Is TIdSMTP set up to use openssl 1 ?  I saw there was a version 3 on there with different DLL names.

 

I rebiult my project (was in 10.3.3) in 12.3, but that made no difference.

 

Share this post


Link to post

You are using Indy component, and bundle version (like actually github too) distribuited with Delphi is able to use the openssl 1.0.2u version.

 

If you want to use the new SSL (3.x) now , there are additional components for Indy like that distribuited on GETIT, for examples TAURUSTLS.

  • Like 1

Share this post


Link to post
3 hours ago, alank2 said:

Is TIdSMTP set up to use openssl 1 ?  I saw there was a version 3 on there with different DLL names.

Indy in general (not just TIdSMTP specifically) indeed natively supports only up to OpenSSL 1.0.2, not OpenSSL 1.1.x and later.  This is a LONG standing problem with no resolution in Indy itself at this time.  But, there are a few 3rd party implementations available that add support for those versions, such as TaurusTLS:

https://github.com/JPeterMugaas/TaurusTLS

 

Edited by Remy Lebeau
  • Like 2
  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×