Which operating system are you using on the client? Some OS restrict the connection to servers with self-signed certificates.
The client PC is running Windows 10.
Have also tried on Windows 8.1 and Windows 7.
I've got the request to work by adding my certificate to the 'Trusted Root Certification Authorities' folder using the 'Certificates' snap-in in MMC on the client PC.
Thanks for the feedback. Yes, for security reasons several operating systems refrain from connecting to an "invalid" certificate.
it is very trouble to delivery certificate to the end-user. Are there any integration that the remotedbdatabase having the feature that can integrate with the cert onto the client app. like the secure bridge product from devart.com or http://docwiki.embarcadero.com/RADStudio/XE5/en/Tutorial:_Using_the_REST_Client_Library_to_Access_REST-based_Web_Services
Not sure what exactly you want to achieve? I don't know SecureBridge very well but it seems to be used to encrypt custom communication with server, like when connecting directly to databases or using TCP connections. The link you sent about rest clients in embarcadero page also doesn't mention anything special.
We face many difficulty on setting up the certificate.
Since our server is a win 2008 server.
We work out the following like
Our window client and andriod client application still require a certifcate to execute the application.
In additional, andriod is not avaliable to install the cert. you need to root the andriod device!
Are there any thing wrong with us on creating the valid cert so that it need cert for all platform?
Please let us know.
You mean client certificates or server certificates? Currently XData/Sparkle servers doesn't enforce the user to have a client certificate. You install the certificate on the server and just connect from client to have encrypted communication, but there is no authentication using client certificates, is that what you are looking for?
We install the self-signed certificate on the server side.
by changing the server side url to https:// then the client side application ask for cert.
What exactly do you mean by "client side application ask for cert".