Wildcard not working

My domain is:

calendarstory.com

I ran this command:

certbot certonly --standalone --http-01-port 999 -d calendarstory.com

It produced this output:

A valid certificate for the server / root (calenarstory.com). It did not work on the first-level domain www.

My web server is (include version):

Haproxy

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

no

Note: According to the documentation at the URL below, an order of "example.com" or "*.example.com" is expected to generate a wildcard. I used the former.

Hi @TragicWarrior

this is wrong (and not there). A wildcard certificate has *.example.com as one name.

A certificate with example.com isn't a wildcard certificate.

But you can combine *.example.com and example.com in one certificate.

Then you can use it with example.com, www.example.com, blog.example.com etc.

1 Like

@jurgenhaas , I was suspecting that was the problem. I went back just now and realized I read the documentation incorrectly. Thank you for your reply!

2 Likes

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