如何解决WSO2 IS-Analytics分析:“ SSL握手时出错”错误
我正在尝试将WSO2 IS与Google Analytics(分析)相关联。
基本上,我正在从WSO2页面(https://is.docs.wso2.com/en/5.11.0/learn/prerequisites-to-publish-statistics/)开始学习教程。还检查了博客中的一些教程(例如https://medium.com/@niluka/wso2-identity-analytics-17f62176130e)
在我尝试使用门户之前,IS服务器和WSO2 IS Analytics均运行良好。这是我的问题。
[2020-09-05 17:52:53,381] ERROR {org.wso2.transport.http.netty.contractimpl.listener.SslHandshakeCompletionHandlerForServer} - Error while SSL handshake: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unkNown
[2020-09-05 17:52:53,381] ERROR {org.wso2.transport.http.netty.contractimpl.listener.SslHandshakeCompletionHandlerForServer} - Error while SSL handshake: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unkNown
[2020-09-05 17:52:54,514] ERROR {org.wso2.transport.http.netty.contractimpl.listener.SslHandshakeCompletionHandlerForServer} - Error while SSL handshake: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unkNown
[2020-09-05 17:52:54,690] ERROR {org.wso2.transport.http.netty.contractimpl.listener.SslHandshakeCompletionHandlerForServer} - Error while SSL handshake: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unkNown
我尝试了一些解决方案。
- 将WSO2 IS Analytics Server的公共证书导入到WSO2 Identity Server的client-truststore.jks中,反之亦然。 (来自此博客:https://medium.com/@niluka/wso2-identity-analytics-17f62176130e)
- 以及此链接中的解决方案:https://github.com/wso2/docs-is/issues/1207
- 我尝试了此命令
keytool -import -alias <alias> -file <file_name> -keystore client-truststore.jks -storepass wso2carbon
- 但响应是:
- 我尝试了此命令
C:\Program Files\WSO2\Identity Server\5.10.0\repository\resources\security>keytool -import -alias <alias> -file <file_name> -keystore client-truststore.jks -storepass wso2carbon.cer
지정된 파일을 찾을 수 없습니다.
(지정된다。是'找不到指定的文件')
但是问题仍然存在。有人为此错误提供其他解决方案或提示吗?谢谢。
这是我的deployment.toml
文件。
[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
[user_store]
type = "read_write_ldap_unique_id"
connection_url = "ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}"
connection_name = "uid=admin,ou=system"
connection_password = "admin"
base_dn = "dc=wso2,dc=org" #refers the base dn on which the user and group search bases will be generated
[database.identity_db]
type = "h2"
url = "jdbc:h2:./repository/database/WSO2IDENTITY_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000"
username = "wso2carbon"
password = "wso2carbon"
[database.shared_db]
type = "h2"
url = "jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000"
username = "wso2carbon"
password = "wso2carbon"
[keystore.primary]
file_name = "wso2carbon.jks"
password = "wso2carbon"
[resource.access_control]
context = "(.*)/sample-auth/(.*)"
secure = false
http_method = "all"
[[event_listener]]
id = "authn_data_publisher_proxy"
type = "org.wso2.carbon.identity.core.handler.AbstractIdentityMessageHandler"
name = "org.wso2.carbon.identity.data.publisher.application.authentication.AuthnDataPublisherProxy"
order = 11
[identity_mgt.analytics_login_data_publisher]
enable=true
[identity_mgt.analytics_session_data_publisher]
enable=true
[event.default_listener.application_authentication]
enable = true
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。