Submitted by ollieno on Thu, 01/14/2016 - 15:20
When requesting a certificate for a virtual domain, virtualmin seems to only request it for example.com. It needs to request it for www.example.com as well. "-d example.com -d www.example.com".
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 01/14/2016 - 15:22 Comment #1
This has been implemented, for inclusion in the next release.
Submitted by JamieCameron on Thu, 01/14/2016 - 15:22 Comment #2
Submitted by ultimateBusiness on Sat, 01/16/2016 - 09:35 Comment #3
It ist possible to get the fix as an hot fix within a single file to fix this asap and not have to wait for the next version?
Submitted by JamieCameron on Sat, 01/16/2016 - 13:31 Comment #4
You can replace the file
/usr/share/webmin/virtual-server/letsencrypt.cgi
(or/usr/libexec/webmin
on CentOS) with this updated code : http://pastebin.com/BEsYsreZMake sure you've upgraded to Webmin 1.782 first though.
Submitted by Caelyn on Thu, 01/21/2016 - 03:53 Comment #5
Unfortunately, the file as shown on pastebin is throwing errors... I suspect a part of the code is in there twice (lines 57 to 88). Also, when I remove those, I get a syntax error ner home: on line 53. :(
Submitted by JamieCameron on Thu, 01/21/2016 - 23:09 Comment #6
Oops, looks like I double-pasted. Take a look at the pastebin again now.
Submitted by Caelyn on Fri, 01/22/2016 - 04:45 Comment #7
Yes! This now works like a charm, without errors :D
Thnx!
Submitted by martlam on Thu, 01/28/2016 - 18:41 Comment #8
just patched letsencrypt.cgi on my production system and it works great
also, followed this guide to get webmin to use letsencrypt (https://blog.valentinvaleanu.ro/certificate-letsencrypt-pentru-webmin-vi...) , it's not english but you can make it out...
only difference is that instead of choosing a virtualhost, in the step before creating the certificate the value for "Website root directory for validation file", I chose "Other directory" and set the value to "/var/www". Webmin now working with LetsEncrypt certifcate :)
Submitted by daniel on Tue, 03/29/2016 - 09:06 Comment #10
Dont understand is there any solution to the above problem?
Submitted by andreychek on Tue, 03/29/2016 - 09:18 Comment #11
The fix described above is implemented in the current Virtualmin release (version 5.01). If you're seeing that issue, make sure you have the most recent version of Virtualmin and Webmin available for your distro.
Submitted by brylie on Wed, 06/07/2017 - 01:56 Comment #12
Has this fix been released?