Erro installing a new certificate

My domains are: and

I ran this command:certbot

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine YES

I'm using a control panel to manage my site NO

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Any help would be infinitely appreciated!

Welcome back @Carles

You say you are using Apache 2.4.41 but it looks like Apache Tomcat 8.5.57 is responding. Can you explain more what you have? Thanks

curl -i
HTTP/1.1 404
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 762
Date: Wed, 07 Sep 2022 19:39:31 GMT

<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found
(removed other info for readability)
<h3>Apache Tomcat/8.5.57</h3></body></html>

Thanks for answering, Mike!

And well, I'm using tomcat on apache2... Has this anything to do with the issue?

1 Like

Yes. Apache and Apache Tomcat are two different web servers. They are configured differently. And, the certbot --apache plug-in is only for Apache (not Tomcat). For Tomcat, you could use the certbot certonly webroot method.

It looks like you have both installed. But, Tomcat is the one running and responding to requests (as I showed earlier). I can't advise on which one is "best" for you. You will need to decide which you want going forward. And, if you choose Apache you need to have that running and responding to HTTP requests instead of Tomcat.


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