Cant obtain certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator certbot-dns-selectel:dns-selectel, Installer None Obtaining a new certificate Performing the following challenges: dns-01 challenge for dls-one.com dns-01 challenge for dls-one.com Unsafe permissions on credentials configuration file: /credentials.ini Cleaning up challenges Encountered exception during recovery: Traceback (most recent call last): File "/opt/certbot/src/certbot/certbot/_internal/auth_handler.py", line 70, in handle_authorizations resps = self.auth.perform(achalls) File "/opt/certbot/src/certbot/certbot/plugins/dns_common.py", line 57, in perform self._perform(domain, validation_domain_name, validation) File "/opt/certbot/src/certbot-dns-selectel/certbot_dns_selectel/dns_selectel.py", line 68, in _perform self._get_selectel_client().add_txt_record(domain, validation_name, validation, self.ttl) File "/opt/certbot/src/certbot-dns-selectel/certbot_dns_selectel/dns_selectel.py", line 142, in add_txt_record domain_id = self._find_domain_id(domain) File "/opt/certbot/src/certbot-dns-selectel/certbot_dns_selectel/dns_selectel.py", line 118, in _find_domain_id raise NoDomainZoneError("No any suitable domain zone for {}".format(record_name, domain)) NameError: name 'record_name' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/certbot/src/certbot/certbot/_internal/error_handler.py", line 125, in _call_registered self.funcs-1 File "/opt/certbot/src/certbot/certbot/_internal/auth_handler.py", line 243, in _cleanup_challenges self.auth.cleanup(achalls) File "/opt/certbot/src/certbot/certbot/plugins/dns_common.py", line 76, in cleanup self._cleanup(domain, validation_domain_name, validation) File "/opt/certbot/src/certbot-dns-selectel/certbot_dns_selectel/dns_selectel.py", line 71, in _cleanup self._get_selectel_client().del_txt_record(domain, validation_name, validation) File "/opt/certbot/src/certbot-dns-selectel/certbot_dns_selectel/dns_selectel.py", line 158, in del_txt_record domain_id = self._find_domain_id(domain) File "/opt/certbot/src/certbot-dns-selectel/certbot_dns_selectel/dns_selectel.py", line 118, in _find_domain_id raise NoDomainZoneError("No any suitable domain zone for {}".format(record_name, domain)) NameError: name 'record_name' is not defined An unexpected error occurred: NameError: name 'record_name' is not defined Please see the logfiles in /var/log/letsencrypt for more details.