virtualmin / virtualmin-gpl

Virtualmin web hosting control panel for Webmin
https://www.virtualmin.com
GNU General Public License v3.0
312 stars 97 forks source link

Support certbot plugins #508

Open moham96 opened 1 year ago

moham96 commented 1 year ago

Hi, My site dns is setup using cloudflare and not virtualmin so when running letsencrypt from inside Virtualmin it fails DNS validation.

From the command line I can run certbot and use dns-cloudflare plugin set up with Cloudflare token to update the certificate with DNS validation and even fetch a wildcard certificate, but how can someone setup Virtualmin to use dns-cloudflare when validation for renewal?

iliajie commented 1 year ago

Hello,

You can make Virtualmin to control your Cloudflare zone by first configuring Cloudflare support on Addresses and Networking ⇾ Cloud DNS Providers page (in Virtualmin).

Also, if you don't request wildcard certificate Virtualmin will try to run web-validation.

Moreover, using Cloudflare reverse DNS proxy you don't even need Let's Encrypt certificate, because self-signed certificate will work just fine in Flexible SSL mode. It can be configured in Cloudflare ⇾ SSL/TSL page.