Error SSL handshake when accessing the Analytics Dashboard profile - Solved

假如想象 提交于 2021-02-10 14:29:06

问题


After running wso2server.bat, worker.bat, dashboard.bat, I get an error when trying to access Analytics Dashboard like business-role, monitoring, policies, portal.

"Error while SSL handshake: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown"

what should I do, so that the dashboard analytics running normally

Fix Solved WSO2 IS 5.10 Cannot borrow client for ssl://localhost:7712 - Solved


回答1:


SSL Handshake error can be caused due to several reasons. Know the possible causes that can lead to SSL handshake errors. This reference also has a link with details on SSL handshake semantics that will help you understand the problems better.

In this case that you are faced with, according to these references, it could be that the cipher suite algorithm does not match between your browser and server. You could try different browsers to see if the problem goes away. If not, you will have to check on the server certificate.




回答2:


  1. [IS_HOME]/repository/conf/deployment.toml Add

    [[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

  2. export wso2carbon.jks from WSO2 IS keytool -export -alias wso2carbon -keystore "C: \ Program Files\WSO2\Identity Server\5.10.0\repository\resources\security\wso2carbon.jks"-file publickey.pem

  3. import the .pem file to client-truststore.jks in WSO2 IS Analytics keytool -import -alias wso2 -file publickey.pem -keystore "C:\Program Files\WSO2\wso2is-analytics-5.8.0\resources\security\client-truststore.jks" -storepass wso2carbon

the result is still an error, so that the session in the browser is not detected by the analytics dashboard



来源:https://stackoverflow.com/questions/61615826/error-ssl-handshake-when-accessing-the-analytics-dashboard-profile-solved

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!