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. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
demo.topa.webgestio.com.br
I ran this command:
sudo certbot --apache -d demo.topa.webgestio.com.br
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for demo.topa.webgestio.com.br
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: demo.topa.webgestio.com.br
Type: unauthorized
Detail: 173.249.42.185: Invalid response from http://demo.topa.webgestio.com.br/.well-known/acme-challenge/UDAl4tAsivON2Qw8tbNWYuIzCe_4P5Sb38wPJ7BRIHM: 403
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
apache
The operating system my web server runs on is (include version):
rocky linux 9
My hosting provider, if applicable, is:
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 2.11.0
I'm trying to create a new certificate for a new URL (website), but for some reason it's giving an error. I moved this site from another production server, I changed the IP that points to this URL, but when I run the certificate it gives the error.
I'll show the log:
sudo certbot --apache -d demo.topa.webgestio.com.br
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for demo.topa.webgestio.com.br
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: demo.topa.webgestio.com.br
Type: unauthorized
Detail: 173.249.42.185: Invalid response from http://demo.topa.webgestio.com.br/.well-known/acme-challenge/UDAl4tAsivON2Qw8tbNWYuIzCe*******: 403
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
log:
/var/log/lets...
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: demo.topa.webgestio.com.br
Type: unauthorized
Detail: 173.249.42.185: Invalid response from http://demo.topa.webgestio.com.br/.well-known
.........
Detail: 173.249.42.185: Invalid response from http://demo.topa.webgestio.com.br/.well-known/acme-challenge/qZ-osneEkDIctTOEU7K5aakLQiJpdC_482OwVZu4DL4: 403
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
2024-09-25 13:54:03,704:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/usr/lib/python3.9/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.'
.....
File "/usr/lib/python3.9/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2024-09-25 13:54:03,921:ERROR:certbot._internal.log:Some challenges have failed.
2024-09-25 13:59:16,511:DEBUG:certbot._internal.main:certbot version: 2.11.0
2024-09-25 13:59:16,512:DEBUG:certbot._internal.main:Location of certbot entry point: /bin/certbot
2024-09-25 13:59:16,512:DEBUG:certbot._internal.main:Arguments: ['--apache', '-d', 'demo.topa.webgestio.com.br']
2024-09-25 13:59:16,512:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2024-09-25 13:59:16,534:DEBUG:certbot._internal.log:Root logging level set at 30
2024-09-25 13:59:16,536:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2024-09-25 13:59:16,659:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.57
2024-09-25 13:59:16,936:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_fedora.FedoraConfigurator object at 0x7ff576e69e80>
Prep: True
2024-09-25 13:59:16,937:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot_apache._internal.override_fedora.FedoraConfigurator object at
If you need any specific part of the log, just let me know and I will show it. I appreciate your help in understanding the reason for the error.