微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

WSO2 IS-Analytics分析:“ SSL握手时出错”错误

如何解决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均运行良好。这是我的问题。

  1. 我可以在用户门户和其他页面登录,但是该日志没有显示在门户上。
  2. 当我在门户网站上登录时,此错误dashboard.bat发生。
[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

我尝试了一些解决方案。

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 举报,一经查实,本站将立刻删除。