I'm struggling to succeed to setup Let's Encrypt certificate for webmin itself on a host that won't host any virtual servers ! I found multiple documentations on Internet but all outdated on wrong ! Looked also in webmin documentation but not much more success !
What should I indicate as Website root directory ? so Let's encrypt system works fine ?
Thanks
Vincèn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What you need, is to go to Webmin/Webmin Configuration/SSL Encryption -> Let's Encrypt.
Webmin root directory, is where its files are located. Usually it's /usr/libexec/webmin for RHEL systems (CentOS, Fedora and etc.) and /usr/share/webmin for Debian (Ubuntu, Debian and etc.).
Aside, in case you have Virtualmin installed, as I understood from your title, and you're trying to request certificate for particular domain, just import it, using Virtualmin/Import Virtual Server page. Then you could manage your web-domain right from Virtulmin, including SSL Certificate
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your explanations and so I tried using the /usr/libexec/webmin path file for web root of webmin but it's not working ! I get that error: (host name and its ip are fully resolvable in dns !)):
It looks to try a non https connection to check domain but my webmin doesn't allow non SSL access :( If i remove the non SSL redirection to SSL I get that error:
Failed to request certificate : Website document directory does not exist
Last edit: Vincèn Pujol 2019-06-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know for certain that Vincen was having the same issue as me, but I was just getting this error because webmin was putting quotes around the web root, ie. "/var/www/html". When I removed the quotes it proceeded to the next step (which is my case is a different error altogether).
It seems like a bug if webmin is adding those quotes when it shouldn't be.
-Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm struggling to succeed to setup Let's Encrypt certificate for webmin itself on a host that won't host any virtual servers ! I found multiple documentations on Internet but all outdated on wrong ! Looked also in webmin documentation but not much more success !
What should I indicate as Website root directory ? so Let's encrypt system works fine ?
Thanks
Vincèn
Vincèn, hi.
What you need, is to go to Webmin/Webmin Configuration/SSL Encryption -> Let's Encrypt.
Webmin root directory, is where its files are located. Usually it's /usr/libexec/webmin for RHEL systems (CentOS, Fedora and etc.) and /usr/share/webmin for Debian (Ubuntu, Debian and etc.).
Aside, in case you have Virtualmin installed, as I understood from your title, and you're trying to request certificate for particular domain, just import it, using Virtualmin/Import Virtual Server page. Then you could manage your web-domain right from Virtulmin, including SSL Certificate
Hi ILia
Thanks for your explanations and so I tried using the /usr/libexec/webmin path file for web root of webmin but it's not working ! I get that error: (host name and its ip are fully resolvable in dns !)):
It looks to try a non https connection to check domain but my webmin doesn't allow non SSL access :( If i remove the non SSL redirection to SSL I get that error:
Last edit: Vincèn Pujol 2019-06-14
Vincèn, h
Webmin root and site root is not the same thing.
Just create a domain using Virtualmin, while accessing your Webmin instance using IP address.
I don't know for certain that Vincen was having the same issue as me, but I was just getting this error because webmin was putting quotes around the web root, ie. "/var/www/html". When I removed the quotes it proceeded to the next step (which is my case is a different error altogether).
It seems like a bug if webmin is adding those quotes when it shouldn't be.
-Michael