Open mmartinelliGC opened 1 month ago
I've been investigating this myself as well. I see the following whenever I open a webview:
8-20 09:59:12.962 2002 5214 D OplusDisplayPolicy: xxxxxxx no change cutoutMode: 0
08-20 09:59:13.016 11013 21168 W xxxxxxx: Accessing hidden method Landroid/security/net/config/RootTrustManager;->isSameTrustConfiguration(Ljava/lang/String;Ljava/lang/String;)Z (max-target-o, reflection, denied)
08-20 09:59:13.016 11013 21168 E cr_X509Util: Error creating trust manager (v5.g): java.lang.IllegalArgumentException: Required method checkServerTrusted(X509Certificate[], String, String, String) missing
08-20 09:59:13.017 11013 21168 E cr_X509Util: Could not find suitable trust manager
08-20 09:59:13.018 9708 10337 I Athena : CommonAction: 24,1262,149,1270,2559,51,1.5406451,22
08-20 09:59:13.021 11013 21168 W xxxxxxx: Accessing hidden method Landroid/security/net/config/RootTrustManager;->isSameTrustConfiguration(Ljava/lang/String;Ljava/lang/String;)Z (max-target-o, reflection, denied)
08-20 09:59:13.021 11013 21168 E cr_X509Util: Error creating trust manager (v5.g): java.lang.IllegalArgumentException: Required method checkServerTrusted(X509Certificate[], String, String, String) missing
08-20 09:59:13.021 11013 21168 E cr_X509Util: Could not find suitable trust manager
08-20 09:59:13.022 11013 21168 W xxxxxxx: Accessing hidden method Landroid/security/net/config/RootTrustManager;->isSameTrustConfiguration(Ljava/lang/String;Ljava/lang/String;)Z (max-target-o, reflection, denied)
08-20 09:59:13.022 11013 21168 E cr_X509Util: Error creating trust manager (v5.g): java.lang.IllegalArgumentException: Required method checkServerTrusted(X509Certificate[], String, String, String) missing
Getting the error "SSL error: The certificate authority is not trusted" in my react-native android project when opening any url in a webview. It only happens when proguard is enabled. I tried adding the following suggested in #41 to my proguard-rules file, but that didn't change anything.
-keep class com.appmattus.certificatetransparency.internal.verifier.CertificateTransparencyTrustManager { *; }
I'm getting a slightly different error so I'm not sure they are related. Any help would be appreciated. Thanks