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

网站开发技术问题wordpress 登陆重定向

网站开发技术问题,wordpress 登陆重定向,重庆最好的网站建设,工信部备案查询网址备考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-filetls.keyexample_certs_pana/pana.example.com.key \ --from-filetls.crtexample_certs_pana/pana.example.com.crt \ --from-fileca.crtexample_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.yaml3. 测试 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/hello3.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 /CNpana.example.com/Oclient 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.hkea.cn/news/14454913/

相关文章:

  • 株洲网站搜索优化wordpress 文中文档
  • 公司建站 网站设计dede网站网页主页链接
  • 白酒pc网站建设方案网站所有权查询
  • 在猪八戒网站如何做兼职海南省交通建设局网站首页
  • 大学生毕业设计课题做网站山东平台网站建设方案
  • wordpress制作官方网站网站访问量大
  • 云南省植保植检站网址郑州开发公司
  • 做网站关键词优化的公司宁波seo链接优化
  • 任丘市网站建设价格wordpress 文章序号
  • 西安企业建站机构那里有中国建设工程监理网站
  • 管理信息系统网站建设什么是网站建设和维护
  • 织梦cms怎么搭建网站网站建设专题的意义
  • 商城建设网站策划大连微网站开发
  • 河南网站seo推广android 移动网站开发
  • 静态网站建设流程怎么写仿牌网站优化
  • 做网站要用到什么软件微信小程序怎么做扫码下单
  • 智能建站大师官网平台网站移动端适配怎么做
  • 怎么做的网站怎么放上网使用模板建站
  • 深圳做网站制作深圳科技公司排名100
  • 长沙优化网站技巧我的电脑做网站服务器
  • 网站开发系统计划书中国室内设计网欧式
  • 西宁网站建设哪家好四川省建十五公司官网
  • 自建网站平台有哪些小公司怎么做免费网站
  • 怎么样建设一个网站监利网站
  • 做网站前期工作淮安软件园哪家做网站
  • 免费摄影网站wordpress网上在线插件
  • 做行业导航网站好wordpress 源码剖析
  • 外贸营销网站建设工程如何在手机上制作游戏
  • 企业网站维护兼职浙江建设人力资源网
  • 受欢迎的永州网站建设软件开发 上海