XData API Server Supporting ECDH Ciphers

Hi

I currently have a Datasnap REST API server. IT's been working fine with RSA certificates and ciphers. I've been asked by a client to support ECDH. I've already created the ECDH SSL certificate but haven't been able to make it work.

Can I use XData to develop a new API server that supports ECDH (or better both RSA and ECDH)? If yes, kindly let me know how.

What have you tried, exactly, and what error messages and problems you got, exactly?

I'm getting the following error using Postman:

Error: 1053760: error:10000410:SSL routines: OPENSSL_internal: SSLV3_ALERT_HANDSHAKE_FAILURE:........\src\third_party\boringssl\src\ssl\tls_record.cc:592:SSL alert number 40

I'm using TIdServerIOHandlerSSLOpenSSL and have assigned sslvTLSv1_2 to SSLOptions.Method. I'm not sure why the error mentions SSLV3.

The Indy version used is 10.6.2.0 which is the default Indy installed with Delphi 12.2.

I'm sorry, I thought you had already tried XData and was failing to do so.

I don't see why XData won't work, you can simply try it already, even using the trial version. Just follow the documentation to bind a certificate:

https://doc.tmssoftware.com/biz/sparkle/guide/server.html#using-http-secure-https