Skip to content

Azure DNS Plugin: Ambiguous --dns-azure Flag #113

@jensaops

Description

@jensaops

Describe the bug
When using Azure DNS and CNAME delegation, certificate creation fails with the error message

"Certificate creation failed: Certificate creation failed: usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: ambiguous option: --dns-azure could match --dns-azure-propagation-seconds, --dns-azure-config, --dns-azure-credentials 💡 Check DNS provider credentials and ensure DNS records can be created."

To Reproduce
Steps to reproduce the behavior:

  1. Configure Azure DNS provider in CertMate settings
  2. Attempt to create a certificate using Azure DNS
  3. Certificate creation fails immediately with the above error

Expected behavior
A certificate would be created

Additional context
Running v2.4.0 in docker with requirements.txt + requirements-azure.txt

azure-identity==1.17.1
azure-mgmt-dns==8.1.0
certbot-dns-azure==2.2.0 -- Since certbot-dns-azure==2.11.0 in the example doesn't exist and cannot build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions