Skip to content

Cert renewal via Gandi DNS plugin fails #296

@erkston

Description

@erkston

linuxserver.io


Expected Behavior

Certbot should renew certificates automatically when using VALIDATION=dns and DNSPLUGIN=gandi

Current Behavior

Certbot fails: Renewal configuration file /etc/letsencrypt/renewal/DOMAIN.conf (cert: DOMAIN) produced an unexpected error: 'Namespace' object has no attribute 'certbot_plugin_gandi:dns_credentials'. Skipping.

Further background: the Gandi DNS plugin was recently updated (#277) which comes with some configuration changes (https://github.com/obynio/certbot-plugin-gandi#faq). Any renewal configuration file created with the old plugin nomenclature will not renew and throw the error above.

Replacing

authenticator = certbot-plugin-gandi:dns
certbot_plugin_gandi:dns_credentials = /config/dns-conf/gandi.ini

with

authenticator = dns-gandi
dns_gandi_credentials = /config/dns-conf/gandi.ini

in /etc/letsencrypt/renewal/DOMAIN.conf will allow certbot to renew without issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions