So check it out, maybe you've got the files with the certificates mixed up.Domen(s) for which the certificate has been issued, recorded in the field subject Certificate in CN=имя.домена and X509v3 Subject Alternative Name as at DNS:имя.домена♪$ cat /путь/к/файлу | openssl x509 -noout -text | grep -E '(DNS|Subj.*CN)'
Subject: CN=mail.domain.ru
DNS:imap.domain.ru, DNS:mail.domain.ru, DNS:smtp.domain.ru
to verify the information on the certificate that gives the http sirer, cat /путь/к/файлу may be replaced by:$ :| openssl s_client -showcerts -servername имя.домена -connect имя.домена:443 2>/dev/null
For example, for yandex.ru.$ :| openssl s_client -showcerts -servername yandex.ru -connect yandex.ru:443 \
2>/dev/null | openssl x509 -noout -text | grep -E '(DNS|Subj.*CN)'
Subject: C=RU, O=Yandex LLC, OU=ITO, L=Moscow, ST=Russia, CN=yandex.ru
DNS:xmlsearch.yandex.ua, DNS:yandex.net, DNS:images.yandex.ru,
DNS:xmlsearch.yandex.com.tr, DNS:family.yandex.com.tr,
DNS:people.yandex.kz, DNS:m.yandex.kz, DNS:xmlsearch.yandex.com,
DNS:play.yandex.com.tr, DNS:gorsel.yandex.com.tr, DNS:images.yandex.com,
DNS:aile.yandex.com.tr, DNS:m.yandex.ua, DNS:game.yandex.com.tr,
DNS:video.yandex.ua, DNS:yandex.com.tr, DNS:video.yandex.ru,
DNS:yandex.kz, DNS:video.yandex.com.tr, DNS:m.yandex.ru,
DNS:www.yandex.ua, DNS:www.yandex.kz, DNS:games.yandex.com.tr,
DNS:m.yandex.com, DNS:yandex.ua, DNS:yandex.by, DNS:images.yandex.ua,
DNS:xmlsearch.yandex.kz, DNS:m.yandex.by, DNS:www.yandex.ru,
DNS:video.yandex.com, DNS:video.yandex.by, DNS:oyun.yandex.com.tr,
DNS:xmlsearch.yandex.ru, DNS:people.yandex.by, DNS:people.yandex.ru,
DNS:images.yandex.kz, DNS:www.yandex.com, DNS:yandex.com,
DNS:m.yandex.com.tr, DNS:images.yandex.com.tr, DNS:www.yandex.com.tr,
DNS:xmlsearch.yandex.by, DNS:people.yandex.ua, DNS:yandex.ru,
DNS:www.yandex.by, DNS:video.yandex.kz, DNS:images.yandex.by
"The error in fixing a secure compound."We need to watch the logs of the servver.a On the customer ' s side, an initial diagnostic tool can be used, for example, wget:$ wget -S --spider https://имя.домена
concerning configurationThis fragment is a misunderstanding:listen 1.1.1.1;
listen 1.1.1.1:443 ssl;
You seem to have one section under the port of '80 and under port 443: http://nginx.org/ru/docs/http/ngx_http_core_module.html#listen I mean, at the '80s port, you've got, as far as I'm concerned, an attempt to answer your client on a page, not on a http.