Facebook for Android SSL: Trust binding for certification path not found

My app is having problems connecting to Facebook on Android. I can connect to iOS correctly, but under certain circumstances on Android I see this error in Logcat:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

      

The weird problem is that the problem depends on the workstation that is building the APK. If I create an APK in Unity on Workstation A, Facebook will work correctly. However, if I try to build on workstation B, the app fails to connect to Facebook and displays the error above. Both workstations can create working iOS builds that connect to FB seamlessly.

I have verified that both of these workstations have the same Unity settings. It includes:

  • Inspector Facebook Settings
    • FB.Init () parameters
    • Android Build Facebook Settings
    • Facebook SDK version
  • Player settings
    • Android Bundle ID

I also confirmed that the keyhash appearing in the Logcat output were added to the Android section of my Facebook app settings page (one for each workstation).

I also compared AndroidManifest.xml in a "good" APK with AndroidManifest.xml in a "bad" APK. They seem to be the same along with the rest of the APK content (more or less).

I'm wondering if anyone can provide an explanation as to what else might be causing this inconsistency.

thank

+3
android ssl facebook unity3d


source to share


No one has answered this question yet

Check out similar questions:

1858
"Debug certificate expired" error in Android Eclipse plugins
7
Android self-service certificate: Could not find binding binding for certification path
3
Android gateway signed with HTTPS anchor for certification path not found
2
java.security.cert.CertPathValidatorException: Trust binding for certification path not found in React-Native
1
App force quits on facebook login with Facebook Unity SDK for Android
1
"CertPathValidatorException: Trust binding for certification path not found" in Unity3d Android build
0
Android Studio: java.security.cert.CertPathValidatorException: Trust binding for certification path not found
0
Retrofit 2 Armature voltage for certification path not found
0
Smack: "Trust anchor not found for certification path"
0
However, obtaining the trust anchor for the certification path was not found after obtaining the immediate certificate and turning off certificate validation



All Articles
Loading...
X
Show
Funny
Dev
Pics