Certbot failing to give me a certificate

My domain is: node2.sparkcloud.me

I ran this command: sudo certbot certonly --standalone -d node2.sparkcloud.me

It produced this output:

Requesting a certificate for node2.sparkcloud.me

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: node2.sparkcloud.me
Type: unauthorized
Detail: 81.154.154.2: Invalid response from http://node2.sparkcloud.me/.well-known/acme-challenge/oj8CKL69WOhCHlqjEyhqiFKn3ohxqzbvrB3Fua3alOM: 404

Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.

Some challenges have failed.

My web server is (include version): Pterodactyl Panel Node 2

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

My hosting provider, if applicable, is: localhost

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

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

@ClearNotFound Sorry that no one has responded. I don't know Pterodactyl panel well enough to say much.

You might try the Pterodactyl support or its forum

The '404' below is an HTTP Not Found error. Your system told the Let's Encrypt server it was ready to be sent the HTTP Challenge. But, when the LE server sent you that challenge your server said that it did not have it.

That is almost always because of some misconfiguration in your system.

I see that right now an nginx server is replying to HTTP requests on port 80. Yet, you used a --standalone option which itself needs exclusive use of port 80. Pterodactyl or whoever runs those commands would need to stop nginx or handle the reverse proxy for it. Again, that's probably better for Pterodactyl experts to advise on proper configuration.

2 Likes