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

captncraig picture captncraig  路  66Comments

kaklakariada picture kaklakariada  路  14Comments

glasser picture glasser  路  10Comments

mubiesam picture mubiesam  路  12Comments

linkvt picture linkvt  路  8Comments