Skip to content

Azure DNS challenge fails #1087

Closed
Closed
@vbap

Description

@vbap

I am attempting to create SSL certificates using Azure DNS challenge just released in v2.9.2.

I fill the Credentials file when selecting Azure, replacing the template values with my actual values (I am using service principal).

When I press "save", I get internal error.

The logs show:

[5/11/2021] [9:53:10 AM] [Express  ] › ⚠  warning   Command failed: /opt/certbot/bin/certbot certonly --non-interactive --cert-name "npm-21" --agree-tos --email "[email protected]" --domains "SUB1.EXAMPLE1.net,www.EXAMPLE2.com.au" --authenticator dns-azure --dns-azure-credentials "/etc/letsencrypt/credentials/credentials-21"
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: unrecognized arguments: --dns-azure-credentials /etc/letsencrypt/credentials/credentials-21

When I check the contents of directory /etc/letsencrypt/credentials/, there are no files present. So it seems the credentials file is not created?
Each time I attempt a "save", the suffix is increased (log file above shows cert-name "npm-21" and files "credentials-21" where previous iterations would show npm-2-/credentials-20, npm-19/credentials-19

I have tested my azure DNS credentials via otehr methods (Acme SSL) and they work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions