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

mxrlkn picture mxrlkn  路  19Comments

vancluever picture vancluever  路  8Comments

captncraig picture captncraig  路  66Comments

mholt picture mholt  路  13Comments

hcc23 picture hcc23  路  13Comments