D dieterp Active Member Licensed User Longtime User Sep 23, 2025 #1 I installed a new SSL Certificate on my server today and my B4J apps are now getting the "SSLHandshakeException" error. I have added the "#PackagerProperty: IncludedModules = jdk.crypto.ec" property and have also tried using the latest version of Java (As per several recommendations in other posts) but the problem persists. Does anyone have any idea of what I can do to fix the problem?
I installed a new SSL Certificate on my server today and my B4J apps are now getting the "SSLHandshakeException" error. I have added the "#PackagerProperty: IncludedModules = jdk.crypto.ec" property and have also tried using the latest version of Java (As per several recommendations in other posts) but the problem persists. Does anyone have any idea of what I can do to fix the problem?
Solution D D dieterp Sep 24, 2025 I have resolved the issue by adding "HU2_ACCEPTALL" as a conditional symbol as mentioned in this post by Erel: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content
I have resolved the issue by adding "HU2_ACCEPTALL" as a conditional symbol as mentioned in this post by Erel: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content
DonManfred Expert Licensed User Longtime User Sep 24, 2025 #2 To less informations here. How is the certificate configured in your app? Note that this must be redone/updated with the new certificate. Upvote 0
To less informations here. How is the certificate configured in your app? Note that this must be redone/updated with the new certificate.
D dieterp Active Member Licensed User Longtime User Sep 24, 2025 #3 I have an api running on my server that my B4A and B4J apps use to communicate with a MySQL database (Which then populates a website). Everything was working fine until I had to renew the SSL certificate for the website, and now I get the following error message when I try call an endpoint on the api through the B4J apps (The B4A apps have no issues): B4X: Copy javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target I have never had to do anything in the B4J apps related to configuring SSL certificates to get things to work. I have tried the solutions mentioned in my first post but without success Last edited: Sep 24, 2025 Upvote 0
I have an api running on my server that my B4A and B4J apps use to communicate with a MySQL database (Which then populates a website). Everything was working fine until I had to renew the SSL certificate for the website, and now I get the following error message when I try call an endpoint on the api through the B4J apps (The B4A apps have no issues): B4X: Copy javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target I have never had to do anything in the B4J apps related to configuring SSL certificates to get things to work. I have tried the solutions mentioned in my first post but without success
D dieterp Active Member Licensed User Longtime User Sep 24, 2025 #4 I have resolved the issue by adding "HU2_ACCEPTALL" as a conditional symbol as mentioned in this post by Erel: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content Upvote 0 Solution
I have resolved the issue by adding "HU2_ACCEPTALL" as a conditional symbol as mentioned in this post by Erel: https://www.b4x.com/android/forum/t...putils2-and-accept-all-option.110673/#content