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.
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.