I cannot get letsencrypt to give me a wildcard certificate. I request a certificate for *.mutablemango.com and mutablemango.com and it’ll give me a certificate for www.mutablemango.com and mutablemango.com. I tried the same command I provided below on a different domain (joelcherney.com) and it worked. It gave me a certificate for joelcherney.com and *.joelcherney.com. I stupidly rate limited myself on the mutablemango domain but have switched to testing on the staging server where I’m running into the same issue. (https://acme-staging-v02.api.letsencrypt.org/directory) At this point I have no idea why letsencrypt refuses to give me a wildcard domain. Can anyone provide any guidance?
Yes! Looks like I backed up the www.mutablemango.com directory in my home directory some time back. After switching directories to /tmp the wildcard certificate generated without a problem. Thank you so much for your help!
If you don’t mind me asking, why does this affect generating a new certificate?
I figured it out. (took me longer then I’d ever want to admit) The *.mutablemango.com changes to www.mutablemango.com. Thus schoen’s response. I figured I’d leave the question and my own answer here so that others who have this same problem might find the answers they need. Thanks all!