N
N
nurdus2017-11-17 18:13:46
Digital certificates
nurdus, 2017-11-17 18:13:46

How to fix error while getting certificate via certbot-auto?

Good evening.
I'm trying to get a certificate for a website using certbot-auto.
But I get the following message:

Domain: submydomain.mydomain.com
Type:   unauthorized
Detail: Incorrect validation certificate for tls-sni-01 challenge.
Requested 11c81a586f64377b9d0c729587fbea0a.11b6f819de30b1d56dcd8f8a43aaced2.acme.invalid
from 111.111.111.111:443. Received 2 certificate(s), first certificate had names "*.HOSTING-NAME.ru, HOSTING-NAME.ru"
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.

In principle, I understand/assume what he is swearing at, namely that the certificate of the hosting company is returned by the given ip.
Question: how to get around this? Or 1 site per 1 ip is one of the conditions...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hx510b, 2018-09-03
@hx510b

Here, authorization goes through HTTPS, while at the address of domain A, the certificate of domain B actually responds. Perhaps a redirect from HTTP to HTTPS was made on the web server. You can disable the redirect temporarily, and then return it. Or you can try to make authorization using the standalone certbot web server:
We specify a different port so as not to conflict with the local web server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question