What is the webroot default from delphi datasnap server

Application: Datasnap delphi server.
Operational System: Windowns 10
Problem: webbroot unknow

Please, i have a delphi datasnap server and i just want to generate a new certificate for this server.
If i make the challenge manually it works, but i really need a automatized way to do that.

Manually that works:

certbot certonly --manual -d mydomain.com

Automatized that does not work because i dont know webroot for datasnap delphi server:

certbot certonly --webroot -w C:\Certbot -d mydomain.com

Please, help me solve this.

Hi @sergiomendonca,

Welcome to the community forum!

Some google searching tells me that Datasnap uses the Indy HTTP webserver under the hood. What version of Datasnap Delphi Server are you running? Have you checked the Datasnap server manual? This article may point you in the right direction.

I’m using delphi 10.1 Berlim. I think datasnap server probably does not have webroot. Maybe i have to point the file from C:Certbot, read and return the code to validate the certificate like a rest call. Something like that because Delphi in this case is just a backend server that does not behave like nginx or apache.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.