当前位置: 首页 > news >正文

网站费做进什么科目百度推广怎么提高关键词排名

网站费做进什么科目,百度推广怎么提高关键词排名,网站备案网站名称,怎么把图片做超链接到网站备考ICA----Istio实验12—配置双向TLS Istio Ingress Gateway实验 本实验部分配置延续上个Istio实验11 1. 重新配置secret 重新配置secret使其带有ca证书可以验证客户端证书是否合法 先删除原有secret,再配置新的secret # 删除原tls类型的secret kubectl -n istio-system d…

备考ICA----Istio实验12—配置双向TLS Istio Ingress Gateway实验

本实验部分配置延续上个Istio实验11

1. 重新配置secret

重新配置secret使其带有ca证书可以验证客户端证书是否合法
先删除原有secret,再配置新的secret

# 删除原tls类型的secret
kubectl -n istio-system delete secret pana-credential
# 重新创建secret,带有ca的证书
kubectl create secret -n istio-system generic pana-credential \
--from-file=tls.key=example_certs_pana/pana.example.com.key \
--from-file=tls.crt=example_certs_pana/pana.example.com.crt \
--from-file=ca.crt=example_certs_root/example.com.crt
# 确认secret被正确创建
kubectl get  secrets -n istio-system 

在这里插入图片描述

2. Gateway配置

将Gateway设置为MUTUAL模式
mode: MUTUAL
tls-ingress/pana-tls-gateway-mutual.yaml

apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:name: mygateway
spec:selector:istio: ingressgateway                # use istio default ingress gatewayservers:- port:number: 443name: panaprotocol: HTTPStls:mode: MUTUALcredentialName: pana-credential    # must be the same as secrethosts:- pana.example.com

更新部署gateway

kubectl apply -f tls-ingress/pana-tls-gateway-mutual.yaml

3. 测试

3.1 没有客户端证书访问测试

curl -v -HHost:pana.example.com --resolve "pana.example.com:443:192.168.126.220" \
--cacert example_certs_root/example.com.crt "https://pana.example.com:443/hello"

在这里插入图片描述

3.2 生成客户端证书

mkdir example_certs_client
# 生成key和证书请求文件
openssl req -out example_certs_client/client.example.com.csr  -newkey rsa:2048 \
-nodes -keyout example_certs_client/client.example.com.key \
-subj "/CN=pana.example.com/O=client organization"
# 使用ca签发证书,用于区别其他证书这里有效期设置成2年
openssl x509 -req -sha256 -days 730 -CA example_certs_root/example.com.crt \
-CAkey example_certs_root/example.com.key \
-set_serial 1 -in example_certs_client/client.example.com.csr \
-out example_certs_client/client.example.com.crt

这样就在example_certs_client目录下生成了3个文件
在这里插入图片描述

3.3 使用client证书再次访问

带上客户端证书再次访问测试

curl -v -HHost:pana.example.com --resolve "pana.example.com:443:192.168.126.220" \
--cacert example_certs_root/example.com.crt \
--cert example_certs_client/client.example.com.crt \
--key example_certs_client/client.example.com.key \
"https://pana.example.com:443/hello"

通过之前定义的vs将请求转到了helloworld的后端
在这里插入图片描述
此时由于带了客户端证书,并且可以通过ca进行验证通过.这样就不再报错了
至此备考ICA----Istio实验12—配置双向TLS Istio Ingress Gateway实验完成.

http://www.hrbkazy.com/news/26814.html

相关文章:

  • 如何做百度推广网站百度电脑端入口
  • 深圳 公司网站建设开创集团与百度
  • 画册设计流程步骤泰安网站seo
  • 从58做网站怎么做电脑培训班一般需要多少钱
  • 广州做网站服务怎么给公司做网站
  • 专业的医疗网站建设网站建设推广
  • 公司做网站发生的费用分录网络平台有哪些
  • 商丘住房和城乡建设网站360开户推广
  • 如何给网站死链接做404seo资讯
  • 武汉中建广场做网站的公司有哪些营销软文范例大全
  • 报关做业务可以上哪些网站淘宝关键词挖掘工具
  • 上海高端网站建设公司网址导航大全
  • 网站收录了没有排名精准客户截流软件
  • b2b跨境电子商务平台有哪些成都seo优化排名推广
  • 找人做网站安全吗高佣金app软件推广平台
  • 建网站用什么工具google关键词搜索工具
  • 自己建网站做app百度搜索一下百度
  • 网站建设推广型公司做个网站多少钱
  • 昆明网络营销网站seo是什么意思中文
  • 全球50个大网站开发语言长沙百度快速优化排名
  • 行业网站制作促销方法100种
  • 宁波专业做网站网站后端开发
  • 彭阳县城乡与住房建设局网站四川seo
  • 什么网站可以做外链专业做网站建设的公司
  • 政府网站支撑体系建设一站式软文发布推广平台
  • 长沙公积金网站怎么做异动最新国内新闻50条简短
  • 网站后台图片免费模式营销案例
  • 如何制作网站教程视频寻找客户的12种方法
  • 17做网站骗子seo专业技术培训
  • 网站建设crm网站建设的六个步骤