首页 > 解决方案 > Kubernetes Ingress SSL 证书问题

问题描述

我已经使用证书和密钥创建了一个 Kube 证书。当我尝试访问我的服务时,它会返回一条错误消息“服务器无法提供安全连接”。通过 curl 访问时显示以下错误。我已经尝试了互联网上显示的所有内容,而且当我描述我的入口时,它表明秘密已经添加。

* About to connect() to ***.***.com port 443 (#0)
*   Trying IP...
* Connected to ***.***.com (IP) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG)
* SSL received a record that exceeded the maximum permissible length.
* Closing connection 0
curl: (35) SSL received a record that exceeded the maximum permissible length.

标签: sslkubernetes

解决方案


看起来是通配符 dns 名称的问题。下面的似乎不正确。

***.***.com

重新生成 dns 名称的证书,例如*.<application-domain>.com


推荐阅读