Lego: Wildcard support

Created on 1 Apr 2018  路  2Comments  路  Source: go-acme/lego

Is it possible to set wildcard domains?

I'm using the latest version (0.4.1) and I try:

lego -a --email="[email protected]" \
        --domains="xxxx.com" \
        --domains="*.xxxx.com" \
        --tls=":9091" \
        --http=":9091" \
        --exclude "tls-sni-01" run

And get:
acme: Error 400 - urn:acme:error:malformed - Error creating new authz :: Wildcard names not supported

In the dns provider I have configured:

Type | Name |Value |TTL
A | @ | x.x.x.x | 600 seconds
CNAME | * | @ | 1/2 Hour

Most helpful comment

The current stable version 0.4.1 does not support ACMEv2.
If you want ACMEv2 support you need to build lego yourself from the acmev2 feature branch or wait a bit until we promote it to a release.

All 2 comments

The current stable version 0.4.1 does not support ACMEv2.
If you want ACMEv2 support you need to build lego yourself from the acmev2 feature branch or wait a bit until we promote it to a release.

Great, thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cruscio picture cruscio  路  3Comments

lenovouser picture lenovouser  路  5Comments

richtr picture richtr  路  5Comments

onlyjob picture onlyjob  路  3Comments

AubreyHewes picture AubreyHewes  路  3Comments