Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I ran this command:
certbot renew --post-hook ‘service postfix restart; service nginx restart; service dovecot restart’
It produced this output:
Attempting to renew cert (mail.agileindubai.com) from /etc/letsencrypt/renewal/mail.agileindubai.com.conf produced an unexpected error: Failed authorization procedure. mail.agileindubai.me (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://mail.agileindubai.me/.well-known/acme-challenge/1r807NXWZoBKd6EomWL1d7KgZvy_WDleyuOXcF1ZJ4Y: Error getting validation data, mail.runberg.dk (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://mail.runberg.dk/.well-known/acme-challenge/HYo6H5hbeOcJ800667Pz_pYkN_CjDRI8zY_eSEgjv_M: Error getting validation data, mail.agileindubai.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://mail.agileindubai.com/.well-known/acme-challenge/Scr6HkAXSH2DAOhzFWlt3sQWmzJMWYB_3hrt6WNjEhk: Error getting validation data. Skipping.
All renewal attempts failed. The following certs could not be renewed:
My web server is (include version): nginx/1.14.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 18.04.1 LTS
My hosting provider, if applicable, is: Kimsumi
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): No
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):certbot 0.26.1
After browsing similar issues I believe this is a Nginx configuration issue, but I can’t figure out how to solve it. I have verified that I can access https://mail.agileindubai.com/.well-know/acme-challenge/test.html and I can see that the folders and files are being created when running the renewal command …
Any help would be much appreciated. Thanks!