Hello,
I was using an old certbot version. When I tried to renew my certificate, I had an error : /usr/bin/certbot:6: DeprecationWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 68.2.2.post20231117 documentation
So I remove old my old certbot package and reinstall it with "snap".
I try to renew my certificate but I had this error :
Unexpected error determining zone identifier for lefebvre.ovh: Zone lefebvre.ovh is not deployed
So I thought it was because I have reinstall all the certbot and he loose the configuration.
So I remove all my certificates.
I try to create a new one from scratch. Same problem... Same with a new API token created on OVH provider....
My domain is:
home.lefebvre.ovh
I ran this command:
certbot certonly --dns-ovh --dns-ovh-credentials .ovhapi --dns-ovh-propagation-seconds 60 -d home.lefebvre.ovh
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for home.lefebvre.ovh
Unexpected error determining zone identifier for lefebvre.ovh: Zone lefebvre.ovh is not deployed
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
apache2
The operating system my web server runs on is (include version):
raspbian
My hosting provider, if applicable, is:
at home, but with DNS-ovh challenge
I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 2.7.4
Here an extract of log file :
2023-11-18 11:47:04,964:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/snap/certbot/3463/lib/python3.8/site-packages/certbot/plugins/dns_common_lexicon.py", line 250, in _resolve_domain
with Client(self._build_lexicon_config(domain_name)):
File "/snap/certbot-dns-ovh/current/lib/python3.8/site-packages/lexicon/client.py", line 151, in __enter__
raise e
File "/snap/certbot-dns-ovh/current/lib/python3.8/site-packages/lexicon/client.py", line 144, in __enter__
provider.authenticate()
File "/snap/certbot-dns-ovh/current/lib/python3.8/site-packages/lexicon/_private/providers/ovh.py", line 96, in authenticate
raise AuthenticationError(f"Zone {domain} is not deployed")
lexicon.exceptions.AuthenticationError: Zone lefebvre.ovh is not deployed
Thank you for your help