SOLVED THIS SORT OF I created a new virtualserver by hacking the apache config files and pointed it to the server admin user home directory. Copied the /var/ww/html contents into /home/user/html/ Pointed the apache virtual server to that directory and then used that as the Other Directory in the webmin config > SSL Config > Letsencrypt form. It ran fine and copied the certs to the etc/webmin directory and installed them Webmin now show s that it has a valid SSL cert from letsencrypt. Now when I connect...
An the rest of my post!!!
I installed a new 18.04.3 Ubuntu server with ssh server only. Then used the virtualmin insatller script. Then updated ssystem to latest everything. Then started trying to install this cert for the Webmin/virtualmin server. Essentially a default config at this stage. Cheers Spart
Well it has the defaults enabled 000-default and default-ssl sites on 80 and 443 but nothing is served. Both have /var/www/html as the document root. The default index.html file is in the route. It seems that this webroot is owned by root. should this be owned by the server user or www-data ? Cheers Spart
There are no errors in the apache logs it shows nothing from running the letsencrypt script. Traceback (most recent call last): File "/usr/share/webmin/webmin/acme_tiny.py", line 198, in <module> main(sys.argv[1:]) File "/usr/share/webmin/webmin/acme_tiny.py", line 194, in main signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact) File "/usr/share/webmin/webmin/acme_tiny.py",...
Lets start again. How can I furnish the webmin server with a letsencrypt ssl cert I can then use this with postfix, dovecot etc. This is the actual webmin server host.mydomain.co.uk which resolves correctly to the webmin server IP address. All google foo searched state to simply go to webmin configuration page clickon letsencrypt and put /var/www/html as the Other Directory. Then request certicate and viola....except that does not work and I get teh errors listed above. This would seem a very basic...
OK but this is a new server. The DNS resoves for the webmin host. /var/www/html are there the whole www tree is owned by root. It is curently an empy virtualmin server. I need to install an SSL cert for the webmin/virtualmin server host. myserver.co.uk which resolves fine and points to the server. If I try to go to myserver.co.uk using a browser there is nothing displayed. I would expect to get the Apache default page. I can see it is in the /var/ww/html/ tree but is not served. So how do I solve...
OK but this is a new server. The DNS resoves for the webmin host. /var/www/html are there the whole www tree is owned by root. It is curently an empy virtualmin server. I need to install an SSL cert for the webmin/virtualmin server host. myserver.co.uk which resolves fine and points to the server. If I try to go to myserver.co.uk using a browser there is nothing displayed. I would expect to get the Apache default page. I can see it is in the /var/ww/html/ tree but is not served. So how do I solve...