54ayao / JSDMirror

一个免费面向中国境内外的高速jsdelivr镜像站
https://cdn.jsdmirror.com
Other
151 stars 3 forks source link

curl: (60) SSL: no alternative certificate subject name matches target host name 'cdn.jsdmirror.com' #29

Closed i18nsite closed 2 months ago

i18nsite commented 2 months ago

海外是正常的,本地和阿里云访问报错 本地

❯ curl https://cdn.jsdmirror.com/gh/i18n-site/dist@v/i18 curl: (60) SSL: no alternative certificate subject name matches target host name 'cdn.jsdmirror.com' More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. ❯ ping cdn.jsdmirror.com PING cdn.jsdmirror.com.cdn.domaincdn.cn (124.202.188.212): 56 data bytes 64 bytes from 124.202.188.212: icmp_seq=0 ttl=55 time=17.154 ms 64 bytes from 124.202.188.212: icmp_seq=1 ttl=55 time=13.014 ms

❯ curl -i https://cdn.jsdmirror.com/gh/i18n-site/dist@v/i18 curl: (60) SSL: no alternative certificate subject name matches target host name 'cdn.jsdmirror.com' More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.


阿里云服务器

❯ ping cdn.jsdmirror.com PING cdn.jsdmirror.com(240e:ab:b210:500::58 (240e:ab:b210:500::58)) 56 data bytes 64 bytes from 240e:ab:b210:500::58 (240e:ab:b210:500::58): icmp_seq=1 ttl=54 time=37.7 ms 64 bytes from 240e:ab:b210:500::58 (240e:ab:b210:500::58): icmp_seq=2 ttl=54 time=37.7 ms ^C --- cdn.jsdmirror.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 37.662/37.667/37.673/0.005 ms ❯ curl -i https://cdn.jsdmirror.com/gh/i18n-site/dist@v/i18 curl: (60) SSL: no alternative certificate subject name matches target host name 'cdn.jsdmirror.com' More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.

54ayao commented 2 months ago

更新了再看看?

i18nsite commented 2 months ago

我看证书是 subject: CN=.cdn.myqcloud.com

❯ curl -vI https://cdn.jsdmirror.com/gh/i18n-site/dist@v/i18

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.

i18nsite commented 2 months ago

现在可以了

54ayao commented 2 months ago

image 阈值低了