Multiple challenges when requesting wildcard certificate for 3 domains


#1

First of all thank you for this amazing service.
I am using certbot 0.26.0 on Ubuntu with Apache2.6 and I am trying to obtain a wildcard certificate for multiple domains (3).
Each domain I add without the asterisk e.g. -d example.com and with the asterisk -d *.example.com so I provide 6 parameters in total.
I am having the following issue:
Certbot asks me to set up the _acme_challenge for each domain twice once for the domain without the wildcard, once with the wildcard. Therfore the challenges cannot complete. Because I can only verify one of them.

Example:
Please deploy a DNS TXT record under the name
_acme-challenge.example.com with the following value:

T9RZjnHCBbVF11K2GLP1-HWkwn9oTYBUGbE9gTYgep8

Before continuing, verify the record is deployed.

I will now investigate how to try and use the plugin, however I still believe the above mentioned behaviour is a bug.

Kind Regards
Thorsten


#2

Hi @stepotronic

if you have two names *.example.com and example.com, you have to create two txt dns-entries with the same name:

_acme-challenge.example.com

or only _acme-challenge, if your dns-menu adds .example.com per default.

and with the two different values. Then it works.

What’s your domain name? Then it can be checked.


#3

I had no idea you could have multiple entries with _acme-challenge. I thought those were supposed to be unique. Thank you very much, I will try that now.


#4

I think I owe you a “it worked” :slight_smile: However I really dislike the fact that the challenge text changes so quickly. If you did not manage within a certain time, you have to wait again for some time.


#5

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