froxlor / Froxlor

The server administration software for your needs - The official Froxlor development Git repository
http://www.froxlor.org
GNU General Public License v2.0
1.63k stars 453 forks source link

acme.sh dnsapi #1195

Open mtzlobr opened 10 months ago

mtzlobr commented 10 months ago

please add the possibility to use dnsapi for acme.sh instead of Webroot mode

./acme.sh --issue --dns dns_myDNS -d example.com -d '*.example.com'

Thank you mt

d00p commented 10 months ago

We could but it's not that easy because every dns-api-provider has it's own env-vars credentials / requirements and not every domain-registrar has an dns-api script within acme.sh

A pull request that fulfills all these mechanisms and requirements is welcomed

mtzlobr commented 10 months ago

i thought it would be a good idea to use acme.sh's internal functionality when there is a wide range of providers in the dnsapi directory. in froxlor administration only the option to use dnsapi would be selected and the dns provider would be entered as a parameter. handling credentials / dns-api-provider requests would be handled from acme.sh, that would probably mean manual configuration for acme.sh in the next step, but that's something that can be accepted BR mt

d00p commented 10 months ago

So tell me then how a customer should enter any credentials for the selected dns provider

mtzlobr commented 10 months ago

yes it is a issue if it will be operate from customer site, you have true. my thought was manually from the console on the server. I assumed it was an admin issue. somehow it didn't occur to me that the customer has his own dns provider and might want to set it up himself. but probably even that could be solved by creating a copy of the given dnsapi in the client's home where it could be configured and lik it beck to acme.sh. but it is my spekulation how to do it now.