Hello!
I used the dns_ovh plugin to get new let’s encrypt certificate. I tested it once and it was working well. I am using it on centos 7. No apache running on this server.
Yesterday I had updates for my server and since, I can not create certificates anymore.
the command is :
certbot certonly --dns-ovh --dns-ovh-credentials /root/.secrets/certbot/ovh.ini -d voyage-californie.be -d www.voyage-californie.be --email <my_email>
the error I get:
Plugins selected: Authenticator dns-ovh, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for www.voyage-californie.be
dns-01 challenge for voyage-californie.be
Cleaning up challenges
Encountered exception during recovery:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/certbot/error_handler.py", line 108, in _call_registered
self.funcs[-1]()
File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 316, in _cleanup_challenges
self.auth.cleanup(achalls)
File "/usr/lib/python2.7/site-packages/certbot/plugins/dns_common.py", line 76, in cleanup
self._cleanup(domain, validation_domain_name, validation)
File "/usr/lib/python2.7/site-packages/certbot_dns_ovh/dns_ovh.py", line 60, in _cleanup
self._get_ovh_client().del_txt_record(domain, validation_name, validation)
File "/usr/lib/python2.7/site-packages/certbot_dns_ovh/dns_ovh.py", line 68, in _get_ovh_client
self.ttl
File "/usr/lib/python2.7/site-packages/certbot_dns_ovh/dns_ovh.py", line 85, in __init__
'ttl': ttl,
File "/usr/lib/python2.7/site-packages/lexicon/providers/ovh.py", line 40, in __init__
super(Provider, self).__init__(config)
File "/usr/lib/python2.7/site-packages/lexicon/providers/base.py", line 41, in __init__
self.config = legacy_config_resolver(config)
File "/usr/lib/python2.7/site-packages/lexicon/config.py", line 320, in legacy_config_resolver
return ConfigResolver().with_legacy_dict(legacy_dict).with_env().with_config_dir(os.getcwd())
File "/usr/lib/python2.7/site-packages/lexicon/config.py", line 181, in with_legacy_dict
return self.with_config_source(LegacyDictConfigSource(legacy_dict_object))
File "/usr/lib/python2.7/site-packages/lexicon/config.py", line 285, in __init__
raise AttributeError('Error, key provider_name is not defined.'
AttributeError: Error, key provider_name is not defined.LegacyDictConfigSource cannot scope correctly the provider specific options.
An unexpected error occurred:
AttributeError: Error, key provider_name is not defined.LegacyDictConfigSource cannot scope correctly the provider specific options.
Please see the logfiles in /var/log/letsencrypt for more details.
Version installed:
certbot.noarch 0.29.1-1.el7
python2-certbot.noarch 0.29.1-1.el7
python2-certbot-dns-ovh.noarch 0.27.1-1.el7
Not sure what’s happening.
Thx in advance for any help!