Hello,
Recently I’ve moved a website from a server to another.
I’ve update correctly dns but I cannot install a new certificate.
All other domains on the server have no problems, certificates are installed perfectly via ISPConfig.
The folder .well-known/acme-challenge/ is accessible, as you can see at http://www.demetrashop.it/.well-known/acme-challenge/empty.dir
Thanks for any help.
I ran this command:
certbot-auto certonly --dry-run -w /var/www/demetrashop.it/web -d www.demetrashop.it -d demetrashop.it
It produced this output:
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for demetrashop.it
http-01 challenge for www.demetrashop.it
Using the webroot path /var/www/demetrashop.it/web for all unmatched domains.
Waiting for verification…
Challenge failed for domain demetrashop.it
Challenge failed for domain www.demetrashop.it
http-01 challenge for demetrashop.it
http-01 challenge for www.demetrashop.it
Cleaning up challenges
Some challenges have failed.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
Server version: Apache/2.4.25 (Debian)
The operating system my web server runs on is (include version):
Debian9
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
ISPConfig 3.x
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
0.34.2
I’ve always used ISPConfig’s option, but when i checked the option for this domain, nothing happens.
On other domains in the same server it works, only for this nothing happens.
Thank for your answer.
The server is fine, for example today I’ve:
added a new domain
checked on ISP Config the option to apply the certificate
and it works at the first attempt, without a problem.
I’ve tried also to rename the domain demetrashop.it in ISP Config to “demetraold.it”, create a new one “demetrashop.it”, then apply certificate. Same error.
Thank you,
I think when i moved the domain and ask for a new certificate the dns was not fully propagated, so I hit the limit.
Is there a method to revoke those certificates?
Little update.
After another attempt, looking at the log file I notice this
2019-05-15 14:48:03,345:INFO:certbot.renewal:Cert not yet due for renewal
2019-05-15 14:48:03,346:INFO:certbot.main:Keeping the existing certificate
So, the problem is somewhere in ISPConfig, not in the missing certificate.
I took the certificate saved in the server and I installed it manually... It works!
Obviously this means no autorenew, but maybe when the certificate will be expired ISPConfig will replace it correctly.