Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TLS 1.2 in Delphi 2007
#5
(02-24-2021, 10:09 AM)Dirk Janssens Wrote: I try to send mail with TLS 1.2 in a Delphi 2007 project.
Is that possible ?

I have Indy version 10.2.3

No. You need to upgrade to a modern version of Indy. The current version is 10.6.2

(02-24-2021, 01:06 PM)Dirk Janssens Wrote: UPDATE :
I Just installed the latest version, and now I can choose sslvTLSv1_2 as Method, but only in code, not in the property-editor. Is that normal ?

No, it is not. You likely have old BPLs, DCUs, etc still on your system, and the IDE is finding them before finding the newer files. You need to completely wipe out all traces of an older version when upgrading.

(02-24-2021, 01:06 PM)Dirk Janssens Wrote: Is it possible I need to update some dll's before getting this to work ?

Most likely, yes. Indy 10 supports up to OpenSSL 1.0.2u (support for OpenSSL 1.1.x is in-progress: https://github.com/IndySockets/Indy/pull/299), so make sure you have those DLLs in your application folder.

(02-24-2021, 01:06 PM)Dirk Janssens Wrote: If so, I looked at all the versions on https://indy.fulgan.com/SSL/ but they all have in the Requirements: Indy 10.5.5+ (SVN Version or Delphi 2009 and newer)
Am I stuck ?

No, they work just fine with modern Indy.

That repo is dead: https://www.indyproject.org/2020/06/16/o...to-github/

The new repo is: https://github.com/IndySockets/OpenSSL-Binaries

Reply


Messages In This Thread
TLS 1.2 in Delphi 2007 - by Dirk Janssens - 02-24-2021, 10:09 AM
RE: TLS 1.2 in Delphi 2007 - by Jose Nilton Pace - 02-24-2021, 01:32 PM
RE: TLS 1.2 in Delphi 2007 - by Dirk Janssens - 02-24-2021, 02:01 PM
RE: TLS 1.2 in Delphi 2007 - by rlebeau - 02-24-2021, 03:56 PM
RE: TLS 1.2 in Delphi 2007 - by Dirk Janssens - 02-24-2021, 04:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)