Dear all,
I am trying to do a standalone certificate in Ubunut 18 TLS, I simply installed certbot and then tried
sudo certbot certonly --standalone --preferred-challenges tls-sni -d domain-name.com
However, this failed with the error
certbot.errors.AuthorizationError: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Since I had certbot 0.27.0 (which was installed simply with apt-get), I ungraded to 0.31.0 ... however, I still get the same error:
2021-03-04 15:00:03,879:INFO:certbot.auth_handler:Performing the following challenges:
2021-03-04 15:00:03,879:CRITICAL:certbot.auth_handler:Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
2021-03-04 15:00:03,879:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1365, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1250, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 121, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 410, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 353, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 389, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 68, in handle_authorizations
self._choose_challenges(aauthzrs)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 117, in _choose_challenges
combinations)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 422, in gen_challenge_path
return _find_smart_path(challbs, preferences, combinations)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 459, in _find_smart_path
_report_no_chall_path(challbs)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 498, in _report_no_chall_path
raise errors.AuthorizationError(msg)
certbot.errors.AuthorizationError: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
There are several questions with this topic. However, I did not quite find a solution there.
Thanks in advance!