无法将AWS Application Load Balancer与WSO2 IS群集连接?

时间:2020-04-20 19:03:15

标签: wso2 wso2is wso2carbon aws-load-balancer

我正在使用WSO2 IS 5.9.0,并尝试使用AWS Application Load Balancer(ALB)制作WSO2集群。

Trying to create this

我已将Amazon Aurora(MySQL)用作数据库,并成功设置了该数据库。

这两个服务器都运行以下配置-

[server]
hostname = "localhost"
node_ip = "127.0.0.1"
base_path = "https://$ref{server.hostname}:${carbon.management.port}"

[super_admin]
username = "admin"
password = "admin"
create_admin_account = true

[http_access_log]                                                               #enabling http logs in certain pattern
pattern = "%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i %T"

[tenant_mgt]
enable_email_domain= true

[user_store]
type = "database"
scim_enabled = true

[database.identity_db]
type = "mysql"
type = "mysql"
url= "jdbc:mysql://AURORA DB URL"
username = "XXXXX"
password = "XXXXXX"
driver = "com.mysql.jdbc.Driver"

[database.shared_db]
type = "mysql"
url= "jdbc:mysql://AURORA DB URL"
username = "XXXXX"
password = "XXXXXX"
driver = "com.mysql.jdbc.Driver"

[[cache.manager]]
name = "LocalClaimInvalidationCache"
timeout = "300"
capacity = "5000"

[carbon_health_check]
enable= true

[keystore.primary]
name = "wso2carbon.jks"
password = "wso2carbon"

[admin_service.wsdl]
enable = true


现在,ALB conf-
侦听器设置- enter image description here

目标组- enter image description here

我还通过通过Route53获取域,还使用Amazon Certificate Manager(ACM)将证书添加到了Load Balancer DNS。

如果我尝试通过映射的DNS访问负载均衡器,那么我总是会遇到以下错误------> 如果尝试通过http-

Bad Request
This combination of host and port requires TLS.

通过HTTPS尝试-
我进入了一个不断加载的页面


该如何解决? 除此以外,我只能建立IP连接,但是如何确保其安全.........请帮助

0 个答案:

没有答案