Jump to content
MikeMon

REST Datasnap Server Accepting ECDH Ciphers

Recommended Posts

Hi

 

I'm using Delphi 12.2 Patch 2.

 

I've set up a REST Datasnap server that uses HTTPS. Using Indy (installed during Delphi installation), it works fine for RSA certificates. 

 

Any guide on how I can set it up to accept ECDH instead of (or in parallel to) RSA ciphers?

 

Moreover, are there any alternatives to Indy that use TLS1.3? BTW, I updated Indy to the latest version following the update instructions, but it messed up my Datasnap server. I had to uninstall and reinstall Delphi. 😞 

 

Share this post


Link to post

Hello,

 

The sgcWebSockets library, which I'm the developer, has a component to replace the Indy Datasnap Server and add support for other protocols like websocket and use the latest TLS 1.3 version. You can download the trial for Delphi 12 from:

 

https://www.esegece.com/download/sgcWebSockets_D12.zip

 

In the trial, there is a demo in the folder "..sgcWebSockets\Demos\40.DataSnap\Server_Indy_HTTP" that shows how works. The Datasnap server is replaced by TsgcWSHTTPWebBrokerBridgeServer and all the methods and functions are the same.

If you prefer, you can download the compiled sample from:

 

https://www.esegece.com/download/samples/sgcDatasnap.zip

 

When running the sample check the ssl, select openssl 3.0 and TLS1.3. It uses a self-signed certificate, so when clicking the "Open Datasnap" button, the browser will show a warning that the certificate can not be verified, just accept it.

More info:

 

https://www.esegece.com/websockets

 

Kind Regards,

Sergio

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

×