Answer the question
In order to leave comments, you need to log in
What CN to indicate for Cyrillic domains for SSL?
Good afternoon,
Actually the problem is that there are 2 certificates. In the old one, the CN field specifies the domain in Unicode, while the alternative ones specify dns in punycode. In the new one, both places are indicated in punycode. The browser doesn't care, because it always converts everything to punycode, but my Curl doesn't like the new domain:
Server certificate:
* subject: C=RU; L=Moscow; O=Компания ОАО; OU=job; CN=*.xn--d1acufc.xn--p1ai
* start date: Oct 15 00:00:00 2018 GMT
* expire date: Nov 14 12:00:00 2019 GMT
* subjectAltName does not match домен.рф
* SSL: no alternative certificate subject name matches target host name 'домен.рф'
* stopped the pause stream!
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
curl: (51) SSL: no alternative certificate subject name matches target host name 'домен.рф'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question