Jmu5667 Well-Known Member Licensed User Longtime User Jan 12, 2018 #1 Hello I have a B4J SSL server with a Http2Enabled enabled. I have a B4A client that is using a WebSocketHandler to connect to it. The link scheme is "wss://192.168.1.2:51042/ws" and when the B4A app trys to connect I get the following: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Is there a way to resolve this ? Or a better way of using B4A and SSL ? Regards John.
Hello I have a B4J SSL server with a Http2Enabled enabled. I have a B4A client that is using a WebSocketHandler to connect to it. The link scheme is "wss://192.168.1.2:51042/ws" and when the B4A app trys to connect I get the following: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Is there a way to resolve this ? Or a better way of using B4A and SSL ? Regards John.
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2018 #2 This error means that the certificate is not recognized. You can call Client.SetCustomSSLTrustManager to skip the certificate verification. Upvote 0
This error means that the certificate is not recognized. You can call Client.SetCustomSSLTrustManager to skip the certificate verification.