SYSTEM INFORMATION | |
---|---|
OS type and version | Debian Linux 12 |
Virtualmin version | 7.30.4 |
Hello, I’m a newbie in system admin and need help. A company set up a server for us where we can create virtual servers (subdomains). I’ve asked many times to set autorenew for the subdomains SSL without having any answer, so I’ll have to fix it myself.
Based on company’s admin who setup the server, the SSL certificates have been created using this command line for every subdomain: certbot certonly --force-renew -d abc.mydomain.com
Now those subdomains expires regularly and I’ve to run this command every x months, on all subdomains (+30). This is time consuming and off course not the best way to do things.
I’ve tried to find a solution to get only one certificate for all domain et subdomain (on Webmin / Servers / Virtualmin Virtual Servers / Module Config / SSL Settings
On a previous forum thread, I’ve seen a procedure to manage this. So I clicked on “Use Default Certificate Path” for 2 subdomains and could get the let’s encrypt for them.
Now when I do the same for third one, I’ve this error message:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for xxx_mydomain_com (replaced . by _ as I can only post 2 links)
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: xxx_mydomain_com
Type: unauthorized
Detail: xxx.xx.xxx.xx: Invalid response from https___xxx:mydomain_com/.well-known/acme-challenge/YYYYYYYYYYYYYYYYYYYY: 403
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at community_letsencrypt_org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
I’m doing it right ? Every time we have a new customer, I’ll have to create a new subdomain and manage SSL but not sure I’m doing the correct way (looks too complicated). Looks like I’m doing wrong but I followed advice from company’s admin who setup the server for us.
Thank you for helping me out with this SSL settings.