0

我已经使用letsencrypt生成了证书,并且我的应用程序在heroku上运行我关注了这个页面 https://devcenter.heroku.com/articles/ssl#manually-upload-certificates

但是当我访问我的网站时,它显示不安全

Rebuilt URL to: https://www.npodatalab.ch/
Trying 54.208.186.182...
TCP_NODELAY set
Connected to www.npodatalab.ch (54.208.186.182) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
successfully set certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
TLSv1.3 (OUT), TLS handshake, Client hello (1):
TLSv1.3 (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
ALPN, server did not agree to a protocol
Server certificate:
 subject: CN=*.herokuapp.com
 start date: Jun  1 00:00:00 2021 GMT
 expire date: Jun 30 23:59:59 2022 GMT
 subjectAltName does not match www.npodatalab.ch
SSL: no alternative certificate subject name matches target host name 'www.npodatalab.ch'
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 'www.npodatalab.ch'

CN=*.herokuapp.com 为什么在我手动上传证书后 Heroku 仍在管理证书并且 Heroku 看起来一切正常

4

0 回答 0