Zero configuration Let's Encrypt under Virtualmin

Submitted by christophe on Sat, 10/09/2016 - 09:50
Zero configuration Let's Encrypt under Virtualmin

It has been there for a while under Virtualmin, but I was hesitating on using the GUI configuration of Let's Encrypt from Virtualmin on an existing manual configuration. Let's Encrypt does not allow you to make any change afterwards, yielding this error :

Request failed : The native Let's Encrypt client was used previously on this system, and must be used for all future certificate requests.

It is a bit thrilling, but all you need to do is totally remove (rm -Rf) your /etc/letsencrypt directory then go to Virtualmin > Your vhost > Server configuration > Manage SSL certificates + click on the Let's Encrypt tab then request the certificate again (repeat for all your virtual hosts). It is a really nice shorthand (for people like me that are lazy or not real sysadmins) and is working like a charm.

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.