Creating SSL Certificates

Guys, I just set up this new server and also installed Certbot but, I’m having issues creating SSL Certificates. I’ve never used Ubuntu so I don’t know if it’s an issue with the OS or with Webmin. Could someone enlighten me how to fix this problem, please?. Thanks in advane.

Domain: testing.intrelligent.com
Type:   dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.testing.intrelligent.com - check that a DNS record exists for this domain
2021-07-21 00:21:52,388:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
    self._poll_authorizations(authzrs, max_retries, best_effort)
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
    raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.

2021-07-21 00:21:52,389:DEBUG:certbot.error_handler:Calling registered functions
2021-07-21 00:21:52,389:INFO:certbot.auth_handler:Cleaning up challenges
2021-07-21 00:21:52,389:INFO:certbot.hooks:Running manual-cleanup-hook command: /etc/webmin/webmin/letsencrypt-cleanup.pl
2021-07-21 00:21:55,595:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/bin/letsencrypt", line 11, in <module>
    load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1382, in main
    return config.func(config, plugins)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1265, 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 417, in obtain_and_enroll_certificate
    cert, chain, key, _ = self.obtain_certificate(domains)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 348, 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 396, 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 91, in handle_authorizations
    self._poll_authorizations(authzrs, max_retries, best_effort)
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
    raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.

Ubuntu Linux 20.04.2
Webmin
User *
Linux 5.4.0-77-generic on x86_64

Your DNS is wrong or non-existent.

Edit: The error is pretty clear, I think: Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.testing.intrelligent.com - check that a DNS record exists for this domain

Don’t just let your eyes glaze over and refuse to read any of the message just because it’s followed by an ugly Python traceback.

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