Renew certificate failed

Please fill out the fields below so we can help you better.

My domain is:

I ran this command:

./letsencrypt-auto renew --renew-by-default --text -vvvvv

It produced this output:

2016-07-28 19:05:54,561:ERROR:certbot.util:Error while running apachectl graceful.

Job for httpd.service invalid.

2016-07-28 19:05:54,561:WARNING:certbot.renewal:Attempting to renew cert from /etc/letsencrypt/renewal/ produced an unexpected error: Error while running apachectl graceful.

Job for httpd.service invalid.
. Skipping.

My operating system is (include version):

Centos 7 64bit

My web server is (include version):

Tomcat 8.0 running on 8443 port

My hosting provider, if applicable, is:


I can login to a root shell on my machine (yes or no, or I don’t know):


I’m using a control panel to manage my site (no, or provide the name and version of the control panel):


our certificate will get expire within 1 day I want to renew the certificate but failing to renew it getting errors.

Please help.

I don’t think certbot works with Tomcat?

I using certificate for apache. for renew certificate server must be up on 80 or 443 port? actually it is running on 8443.

is it possible to renew certificate without server up on 80 or 443 means standalone?

The http-01 and tls-sni-01 challenges require port 80 or 443, respectively. If that’s not possible, you can look at the dns-01 challenge, but that requires using on of the third party clients. As far as I know, all the bash clients will do DNS challenges.

Osiris thanks for pointing me I successfully apply certificate to tomcat using keystore. but i want know while create standalone certificate it show lot’s of error but certificate is created under /etc/letsencrypt/ directory should i ignore that errors i was got confused while renewing the certificate.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.