menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

DNSroboCert

Orchestrate Certbot and Lexicon together to provide Let's Encrypt TLS certificates validated by DNS challenges

Channels
Team

Issue with certificates

December 15, 2020 at 11:37pm

Issue with certificates

December 15, 2020 at 11:37pm (Edited 2 years ago)
Hi :)
I don't know why it's not working :(. I don't see any error of what's wrong
nginx_1 | 2020-12-15 23:26:16 38068785f409 dnsrobocert.core.main[1] INFO Starting DNSroboCert.
nginx\_1 | 2020-12-15 23:26:16 38068785f409 dnsrobocert.core.main[1] INFO Registering ACME account if needed.
nginx\_1 | 2020-12-15 23:26:17 38068785f409 dnsrobocert.core.main[1] INFO Creating missing certificates if needed (~1min for each)
nginx\_1 | 2020-12-15 23:26:17 38068785f409 dnsrobocert.core.main[1] INFO Handling the certificate for domain(s): domainwanted.fr, .domainwanted.fr
nginx\_1 | 2020-12-15 23:26:18 38068785f409 dnsrobocert.core.main[1] ERROR An error occurred while processing certificate config \`{'domains': ['domainwanted.fr', '.domainwanted.fr'], 'profile': 'my-profile'}\`:
nginx\_1 | Following command with non-zero errorcode (1):
nginx\_1 | /root/.local/pipx/venvs/dnsrobocert/bin/python -m dnsrobocert.core.certbot certonly -n --config-dir /etc/letsencrypt --work-dir /etc/letsencrypt/workdir --logs-dir /etc/letsencrypt/logs --manual --preferred-challenges=dns --manual-auth-hook "/root/.local/pipx/venvs/dnsrobocert/bin/python -m dnsrobocert.core.hooks -t auth -c \"/tmp/tmptmtb\_\_p_/dnsrobocert-runtime.yml\" -l \"domainwanted.fr\"" --manual-cleanup-hook "/root/.local/pipx/venvs/dnsrobocert/bin/python -m dnsrobocert.core.hooks -t cleanup -c \"/tmp/tmptmtb**p\_/dnsrobocert-runtime.yml\" -l \"domainwanted.fr\"" --manual-public-ip-logging-ok --expand --deploy-hook "/root/.local/pipx/venvs/dnsrobocert/bin/python -m dnsrobocert.core.hooks -t deploy -c \"/tmp/tmptmtb**p\_/dnsrobocert-runtime.yml\" -l \"domainwanted.fr\"" --server https://acme-staging-v02.api.letsencrypt.org/directory --cert-name domainwanted.fr -d domainwanted.fr -d \*.domainwanted.fr
nginx\_1 | 2020-12-15 23:26:18 38068785f409 dnsrobocert.core.main[1] INFO Revoke and delete certificates if needed
This is my config.yml file
draft: false
acme:
email_account: [email protected]
staging: true
profiles:
- name: my-profile
provider: ovh
provider_options:
#auth_entrypoint: ovh ================================> what should write here ? I put it without know what is the value
auth_application_key: my_key
auth_application_secret: my_secret
auth_consumer_key: my_consumer_key
certificates:
- domains:
- domainwanted.fr
- "*.domainwanted.fr"
profile: my-profile
Thank you in advance I'm new and since two days I tried a lot of things without understand always what should I use. But at least I understood that dnsrobocert use the dns challenge and manage it auto via my OVH provider and the most important for me is the wildcard, that's why I want to try it :)

December 17, 2020 at 9:48pm
I am surprised by the log you have. It seems that a lot of lines that should be displayed are missing
Edited
In which configuration are you running dnsrobocert ?
Hi
I opened an issue on github if it's more easy to you to follow this issue :)
What do you mean bu configuration ? maybe you're talking about docker ?
If it does, this is my docker-compose.yaml file:
version: '3'
services:
nginx:
image: adferrand/dnsrobocert:3.0.0
restart: unless-stopped
volumes:
- ./config.yml:/etc/dnsrobocert/config.yml
- /etc/letsencrypt:/etc/letsencrypt
- /var/run/docker.sock:/var/run/docker.sock:ro
Edited
Nevermind as I said in the github issue, I searched everything excepts the version of Docker ... I don't know from what tutorial I follow it but 3.0.0 is not at all the latest version. My bad. Pb fixed :). Just v3.0.0 of Docker which is broken
Edited

December 25, 2020 at 5:42pm