I want to create wildcard certification for subdomains but what I got is the server creates new certificate for each new subdomain

My config is

{
        email myemail@gmail.com
 on_demand_tls {
        ask http://localhost:8080/api/v1/stores/domain
    }

}

api.testdomain.shop {

        reverse_proxy :8080

}

seller.testdomain.shop {

        reverse_proxy :8081

}


test.testdomain.shop {
        respond "test"

}

*.testdomain.shop {
        reverse_proxy :8082
 tls {
on_demand
    }
}

:443 {
        reverse_proxy :8082
        tls {
                on_demand
        }

}

I want a wild card certificate for subdomains *.testdomain.com
But what I got is new certificate created for each subdomain

For wildcard certificates, you must use the DNS challenge:

Next time, please fill out the help topic template, as per the forum rules.

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.