使用同一单个网关托管多个站点时,无法在istio-ingressgateway中应用多个证书

时间:2019-08-20 07:31:57

标签: ssl google-cloud-platform google-kubernetes-engine istio

使用同一单个网关托管多个站点时,无法在istio-ingressgateway中应用多个证书

我遵循官方ISTIO文档(https://archive.istio.io/v1.1/docs/tasks/traffic-management/secure-ingress/sds/)中提到的相同步骤,使用多个SSL证书托管多站点,但是未能同时应用这两个站点。

例如:-

apiVersion:networking.istio.io/v1alpha3
种类:网关
元数据:
名称:网关
规格:
选择器:
istio:ingressgateway#使用Istio默认网关实现
服务器:

端口:
编号:80
名称:http-abc
协议:HTTP
tls:
httpsRedirect:true#为HTTP请求发送301重定向
主持人:
“ abc.com”

端口:
编号:443
名称:https-abc
协议:HTTPS
tls:
模式:SIMPLE
credentialName:“ abc-credential”
主持人:
“ abc.com”

端口:
编号:80
名称:http-xyz
协议:HTTP
tls:
httpsRedirect:true#为HTTP请求发送301重定向
主持人:
“ xyz.com”

端口:
编号:443
名称:https-xyz
协议:HTTPS
tls:
模式:SIMPLE
credentialName:“ xyz-credential”
主持人:
“ xyz.com”

这两个证书都以TLS /秘密的形式上传到istio-system名称空间中,但是它仅适用于第一个证书,即abc-credential,而不能用于xyz-credential。 请让我知道是否有人找到解决方案。

0 个答案:

没有答案