I’ve rolled out version 6.05 of the Virtualmin virtual-server module.
Changes since 6.04:
- Scheduled backups created by root can now be designated as allowing restore by virtual server owners, so that they don’t have to maintain their own backups.
- When used with Webmin 1.900 or above, Let’s Encrypt SSL certificates can be requested for wildcard domains.
- The domain name used in links to a server’s website can now be customized to use one of its aliases instead.
- Many Install Script updates.
- Bug fixed in change-license CLI command that would prevent it from correctly re-checking the license after changing it.
The big news for some folks will be wildcard support for Let’s Encrypt. Since this is new, and a little bit complex, watch for problems and let us know if you run into any.
Awesome! So I went ahead and added it. However, it errored out. It appears I need to add a TXT file with my domain registrar tied to _acme-challenge.[my domain name].com. To my knowledge and per some reading online about the manual process, I need some sort of random generated value associated with that. How would I go about obtaining that since I do not see it in the terminal readout? EDIT: To those wondering, it appears you have to prime the pump, so to speak. For the first time, register manually in the terminal. Add the key the utility provides to your TXT entry with your web registrar. Then complete a registration for your domain. In my case, these instructions worked well for NameCheap. After this, you should be able to re-register subsequently ad infinitum within Virtualmin.
Thanks for posting your solution.
I think it only falls back to using DNS for validation if web validation doesn’t work, but maybe it’s different when it uses certbot instead of the bundled ACME client (which doesn’t support wildcards and some newer features).
I am not able to get it working. I also cant really find any guidance on how to activate this.
When I am trying to add a wildcard I am getting this error:
Requesting a certificate for *.website.com from Let’s Encrypt …
… request failed : Web-based validation failed : Wildcard hostname *.website.com can only be validated in DNS mode DNS-based validation failed : Wildcard hostname *.website.com can only be validated when the native Let’s Encrypt client is installed
To my knowledge I am using the native Letsencrypt client right?
That error is poorly worded. The native client is certbot. We ship a lightweight ACME client inside of Webmin/Virtualmin, but it doesn’t yet support wildcard certificates. And, we can’t ship certbot as part of Webmin/Virtualmin, because it has a lot more dependencies and is much, much, bigger. But, I think all of the major distributions we support have certbot available, though only in the more recent versions of the distros; so you’ll need to be using CentOS 7 (with EPEL), Ubuntu 18.04, or Debian 9.
I’ll be adding that to our dependencies list in the Virtualmin 7 installer. I’m hesitant to add such a big dependency to 6 without quite a bit of testing. But, you can install it with yum or apt.
Edit: I’ve modified the error to be more clear in the next version of Webmin. It’ll explicitly say “certbot” rather than “native client”.
Thanks Joe and team for this new feature.
I’m getting the same error as above. I’m on Ubuntu 16, so I installed the certbot client per the instructions you mentioned at https://certbot.eff.org/
However I still get the same error:
… request failed : Web-based validation failed : Wildcard hostname *.mydomain.com can only be validated in DNS mode
I currently have a A record with *.mydomain.com setup over with my hosting company. Is this the right setup? What does “DNS mode” mean anyway?
Scheduled backups created by root can now be designated as allowing restore by virtual server owners, so that they don’t have to maintain their own backups.
So if i enable this will it give the server owners a one click way to restore their backups?
So for the wildcard support, on Debian 9 you need to install certbot then add the line
server = https://acme-v02.api.letsencrypt.org/directory in the cli.ini file (somewhere in /etc/letsencrypt), and just request a cert through Virtualmin for *.mydomain.tld or even *.mysub.domain.tld. It worked like a breeze, great job!
You cannot validate a wildcard certificate using the http-01 method. http-01 only shows you control one domain name, you need to prove you control the whole domain to get a wildcard. This can be done using the dns-01 method where you create DNS records that LE specifies in the domain to prove you control it.
The main purpose of education is to help students gain the knowledge and skills so that they will be able to function in society. Students need to be provided with the necessary skills so that they can learn to become productive citizens. There are many advantages that are associated with receiving an education. Students will be able to contribute to their community and help make it a better place to live. Education basically helps shape society because it helps students learn to become more sociable and helps them develop relationships with their peers. Students will be more qualified for different job positions if they have a good solid education. Education is vital to each student’s life, therefore, by working hard to provide the best instruction possible will help train students to become future leaders and will lead to a better life.
Education is essential to every student’s life as well as their future. Students can have a prosperous life by receiving a good quality education. My thoughts are that students need to learn from the books along with other various materials just as I did while growing up. The classroom curriculum should be decided by their teacher and the teacher should set clear goals as to what is expected from the students. Students should work hard to achieve their goals because it will certainly be worth it in the end. According to essentialism, ‘Schools should not radically try to reshape society but schools should transmit traditional moral values and intellectual knowledge that students need to become model citizens’. Read about education help at Advantages of Online Education . The school should stress the importance of values because some children are not taught these at home. Teaching children good values helps build their character and helps them become respectable people. In regards to education, I think society is important because this is a place where we all live so we should work to make it a better place.