ssl - 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.
解决方案
看起来是通配符 dns 名称的问题。下面的似乎不正确。
***.***.com
重新生成 dns 名称的证书,例如*.<application-domain>.com
推荐阅读
- django - Django 管理员在尝试登录管理站点时调用 ```.save()``` 方法
- sql - SQL 窗口函数在订单级别查找每个客户的第二高订单日期
- python - 有没有办法循环遍历 Pandas 数据框?
- r - 如何删除其中一个值满足条件的所有行?应用()不工作
- r - R:pivot_wider() 扩展数据框
- sql - 如何比较不同表中的 2 列
- excel - 如何在 Excel 中制作两列过滤器?
- java - 包含不显示正确的信息
- r - MASS::glm.nb 包对某些数据集返回错误
- javascript - Flutter WEB的Firebase Analytics调试视图?