Little background: Installed nethserver using a registered FQDN, then selected an account provider in the cockpit (OpenLDAP) and created a couple users, then created Letsencrypt certificates. Was able to access the server no problem remotely in browsers. This was basically a test setup to see if I liked nethserver.
I registered a new domain for our business, so I had to change the FQDN on my nethserver. In order to change the FQDN, I had to change (unbind) the account provider (basically uninstalls OpenLDAP), which looked as if it deleted the users, and then it allowed me to do change the FQDN in the cockpit dashboard. I was able to again go through the account provider configuration, which reinstalled OpenLDAP, which then automatically restored the previous users that I assumed were deleted from the server. I thought, âCoolâ.
However, now when I go to generate a new Letsencrypt certificate, it spits back that the challenge failed for this domain. Iâve included the Letsencrypt.log below. I know my webroot is accessible from port 80 as I can access my nextcloud files with the users created as mentioned above. Any ideas when looking at the log below? Perhaps somethingâs corrupted when going through the steps mentioned above? Maybe I need to delete some files associated with the previous Letsencrypt certificates in order to generate new ones? Thanks for any insight you can offer.
Domain: rennco.cloud
Type: unauthorized
Detail: 99.32.54.27: Invalid response from http://rennco.cloud/.well-known/acme-challenge/V4GlXouMzTSheoIQoBV5He0ukdMW0CYTtnyzNtR3abE: 403
Domain: www.rennco.cloud
Type: unauthorized
Detail: 2a00:1450:400e:810::2013: Invalid response from http://www.rennco.cloud/.well-known/acme-challenge/Sp-FsTC8m7CuVRiI7yA66FLQU_11BgXz5PRLS3lBtJA: 404
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.
2023-01-11 12:21:05,693:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
AuthorizationError: Some challenges have failed.
2023-01-11 12:21:05,693:DEBUG:certbot._internal.error_handler:Calling registered functions
2023-01-11 12:21:05,693:INFO:certbot._internal.auth_handler:Cleaning up challenges
2023-01-11 12:21:05,694:DEBUG:certbot._internal.plugins.webroot:Removing /var/www/html/.well-known/acme-challenge/ny6jc24o714Oq3nTtZwZeObq2ig8DtToQLUxDLw_f4M
2023-01-11 12:21:05,694:DEBUG:certbot._internal.plugins.webroot:Removing /var/www/html/.well-known/acme-challenge/V4GlXouMzTSheoIQoBV5He0ukdMW0CYTtnyzNtR3abE
2023-01-11 12:21:05,694:DEBUG:certbot._internal.plugins.webroot:Removing /var/www/html/.well-known/acme-challenge/Sp-FsTC8m7CuVRiI7yA66FLQU_11BgXz5PRLS3lBtJA
2023-01-11 12:21:05,695:DEBUG:certbot._internal.plugins.webroot:All challenges cleaned up
2023-01-11 12:21:05,695:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 9, in <module>
load_entry_point('certbot==1.11.0', 'console_scripts', 'certbot')()
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 15, in main
return internal_main.main(cli_args)
File "/usr/lib/python2.7/site-packages/certbot/_internal/main.py", line 1421, in main
return config.func(config, plugins)
File "/usr/lib/python2.7/site-packages/certbot/_internal/main.py", line 1294, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/usr/lib/python2.7/site-packages/certbot/_internal/main.py", line 135, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/lib/python2.7/site-packages/certbot/_internal/client.py", line 441, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python2.7/site-packages/certbot/_internal/client.py", line 374, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python2.7/site-packages/certbot/_internal/client.py", line 421, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python2.7/site-packages/certbot/_internal/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
AuthorizationError: Some challenges have failed.
2023-01-11 12:21:05,696:ERROR:certbot._internal.log:Some challenges have failed.