gpt4 book ai didi

amazon-web-services - 无法验证AWS中*。*。compute内部主机名的证书

转载 作者:行者123 更新时间:2023-12-02 11:44:23 25 4
gpt4 key购买 nike

我已经在AWS中创建了K8S集群,并为每个组件生成了证书,它们可以相互连接。但是,当我尝试通过Helm获取日志或安装应用程序时,我遇到了以下错误:

$ helm install ./.helm
Error: forwarding ports: error upgrading connection: error dialing backend: x509: certificate is valid for bla-bla-bla.eu-central-1.elb.amazonaws.com, worker-node, .*.compute.internal, *.*.compute.internal, *.ec2.internal, bla-bla-bla.eu-central-1.elb.amazonaws.com, not ip-172-20-74-98.eu-central-1.compute.internal`

我的证书是:
X509v3 Subject Alternative Name:
DNS:bla-bla-bla.eu-central-1.elb.amazonaws.com, DNS:worker-node, DNS:.*.compute.internal, DNS:*.*.compute.internal, DNS:*.ec2.internal, DNS:bla-bla-bla.eu-central-1.elb.amazonaws.com, IP Address:172.20.32.10, IP Address:172.20.64.10, IP Address:172.20.96.10`

谢谢你的帮助
最好,

最佳答案

通配符证书只能用于DNS名称的单个段。您将需要有效的ip-172-20-74-98.eu-central-1.compute.internal证书
*.eu-central-1.compute.internal

关于amazon-web-services - 无法验证AWS中*。*。compute内部主机名的证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52779898/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com