Jump to content
limelect

SSl witout any DLL

Recommended Posts

I am using tothpaul\Delphi-master\Indy.SChannel with great success in testing my software

However, my provider did an update on his server and now I cannot get my text file at

https://limelect.com/UpDate/document-projects.txt

I get a protocol error

My provider answered me this

 

"So the problem is probably in the software settings.
See that TLS is at least 1.2

And in addition, make sure that there is trust for the SSL certificate"

 

I was looking into finding SSL version and could not find a good source for that

I was trying this  answer without any success

https://stackoverflow.com/questions/41127514/how-to-determine-which-tls-ssl-protocol-was-negotiated-when-using-sslvsslv23

 

Any idea what I should do next?

 No DLL plz

 

P.S D10.2.3 Indy 10

 

 

Edited by limelect

Share this post


Link to post
46 minutes ago, limelect said:

No DLL plz

 

P.S D10.2.3 Indy 10 

Are you aware that Indy also uses DLLs for SSL? I don't know of any solution that does not require DLLs.

Share this post


Link to post

@dummzeuchtothpaul\Delphi-master\Indy.SChannel 

 

does

Using it with great success  until now

Edited by limelect

Share this post


Link to post
On 10/21/2024 at 11:02 AM, dummzeuch said:

Are you aware that Indy also uses DLLs for SSL? I don't know of any solution that does not require DLLs.

There is a commercial add on to Indy called YuOpenSSL, that replaces OpenSSL DLLs with Delphi DCUs.

Share this post


Link to post
5 hours ago, Frickler said:

There is a commercial add on to Indy called YuOpenSSL, that replaces OpenSSL DLLs with Delphi DCUs.

Interesting project. You can also buy the sources.

But they use Digital River to sell their licenses ...

Share this post


Link to post

I integrated YuOpenSSL into ICS three years ago and alternate using it and OpenSSL for testing. ICS also allows the OpenSSLs to be compiled into applications as resources to ease distribution and DLL hell, all three variants work identically.  But applications are larger with YuOpenSSL or resource files. 

 

Using SChannel may seem simpler, but your cryptography and updates are then locked to the OS, Microsoft only reluctantly support TLS/1,2 With Windows 2008 but did not support EC certificates, and TLS/1.3 took a long time to arrive. In ICS, I've worked with many of the Windows crypto APIs, and they are horrible.  

 

Angus

 

 

Angus

 

  • Like 2

Share this post


Link to post

My test with SChannel 

After my provided did not help much I communicated

with 2 more providers.

One had the same problem that I could not use his server with

SChannel but the other one was OK.

While testing I found that on Windows 7 things did not work but with

Windows 11 was OK.

No one understands what is going on.

In my case, I had to move to a new provider where the SChannel worked.

with Windows 7

 

Edited by limelect

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

×