Cannot renew letsencrypt cert from within virtualmin

1 post / 0 new
#1 Sat, 05/13/2017 - 19:06
CEEWorld

Cannot renew letsencrypt cert from within virtualmin

After the latest update of webmin I cannot renew a letsencrypt cert for a virtual server in virtualmin. When selecting virtualmin/domain/manage ssl cert and selecting the letsencrypt tab when clicking get cert this is the output (I changed the domain names for reasons of privacy):

Requesting a certificate for domain.tld, www.domain.tld from Let's Encrypt ..
.. request failed :

usage:
  letsencrypt [SUBCOMMAND] [options] [-d domain] [-d domain] ...

The Let's Encrypt agent can obtain and install HTTPS/TLS/SSL certificates.  By
default, it will attempt to use a webserver both for obtaining and installing
the cert. Major SUBCOMMANDS are:

  (default) run        Obtain & install a cert in your current webserver

  certonly             Obtain cert, but do not install it (aka "auth")
  install              Install a previously obtained cert in a server
  renew                Renew previously obtained certs that are near expiry
  revoke               Revoke a previously obtained certificate
  rollback             Rollback server configuration changes made during install
  config_changes       Show changes made to server config during installation
  plugins              Display information about installed plugins

letsencrypt: error: unrecognized arguments: --preferred-challenges=dns --manual-auth-hook /etc/webmin/webmin/letsencrypt-dns.pl --manual-cleanup-hook /etc/webmin/webmin/letsencrypt-cleanup.pl

This would appear to suggest that the latest webmin update which added DNS validation mode for Let's Encrypt certificates has created an issue within virtualmin. Has anyone else come across this or have a solution?

Many Thanks