WSO2 - 禁用 HTTPS [英] WSO2 - disable HTTPS

查看:54
本文介绍了WSO2 - 禁用 HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为 WSO2 Api Manager(admin/gw/其他组件)禁用 HTTPS?我们希望在我们的前端负载平衡器上终止 SSL - 而不是在最后的 WSO2 产品上.如果我访问端口 9763,我将被重定向到 9443.我们正在运行使用 docker-images 部署的 2.1.0.

解决方案

如果是 5.10.0 和 windows 10,

<块引用>

#1 打开C:\Program Files\WSO2\Identity Server\5.10.0\repository\resources\conf\default.json"

#2 更改三个字段

来自

 "transport.https.properties.scheme": "https",transport.https.properties.secure":真",transport.https.properties.SSLEnabled":真",

 "transport.https.properties.scheme": "http",transport.https.properties.secure":假",transport.https.properties.SSLEnabled":false",

<块引用>

#3 启动服务器批处理 wso2server.bat

#4 打开浏览器 http://localhost:9443/

How can I disable HTTPS for WSO2 Api Manager (admin/gw/other components)? We want to SSL-terminate on our front load-balancers - and not on the end WSO2-products. If I visit port 9763 I'll get redirected to 9443. We're running 2.1.0 deployed with the docker-images.

解决方案

In case of version 5.10.0 and windows 10,

#1 Open "C:\Program Files\WSO2\Identity Server\5.10.0\repository\resources\conf\default.json"

#2 Change three fields

from

 "transport.https.properties.scheme": "https",  
 "transport.https.properties.secure": "true",  
 "transport.https.properties.SSLEnabled": "true",

to

  "transport.https.properties.scheme": "http",
  "transport.https.properties.secure": "false",
  "transport.https.properties.SSLEnabled": "false",

#3 start server batch wso2server.bat

#4 open browser http://localhost:9443/

这篇关于WSO2 - 禁用 HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆