问题
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:
[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 = trueexport 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
- 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