Hello.
I saw that there are some new components that easy up the integration of a certificate on the server. I saw on the documentation that i can also use a new property AutoCreateSelfSignedCertificate in this tutorial https://docs.remotingsdk.com/IDEs/VisualStudio/NewServer/#q=https . But i was unable to find this in RemObjects 9.6 on Delphi. As i saw in the documentation the example didn’t include delphi so is this not available on Delphi?
Hi,
you can use self signed certificate with Delphi too.
Indy-based servers, TROWebBrokerServer & TROWinHttpServer have proper SSL/TLS support.
All Indy-based servers have public/published Server
property where you can specify TIdServerIOHandlerSSLOpenSSL
with certificate details.
TROWebBrokerServer
- SSL/TLS can be specified in IIS server
TROWinHttpServer
- SSL/TLS can be specified via netsh utility
also you can review SSL sample attached to Authentication Question
Hi,
Thanks for the fast reply. I was looking into TROWinHttpServer and i saw that isHTTPS check box. But i don’t really get it where i cab assign the cert and the key for that component. In case of my TROIndyHttpServer i’ve used a SSL dispatcher component TIdServerIOHandlerSSLOpenSSL to manage the cert.
Also The TROWinHttpServer doesn’t have that selfSign check box which(maybe i didn’t get it right) should manage the cert and refresh it if it expires all by itself.
But if the TROWinHttpServer could manage something similar i would stick to that(a little example or doc page would be appreciated).
Thanks
Hi,
TROWinHttpServer is a wrapper for Microsoft Windows HTTP Services (WinHTTP).
Simple options is handled by TROWinHttpServer, but some advanced ones like SSL can be configured via special program (netsh
).
see more at
- How to: Configure a Port with an SSL Certificate
- Configuring HTTP and HTTPS
- Netsh commands for HTTP
- GUI utility, where you can register URLs and manage certificates.