Hello I implemented this library (https://github.com/babylonhealth/certificate-transparency-android) with okhttp/certificate pinning (using TrustKit) the problem is that i received an error even tho the hostname has the logs checking in Google report and there is a CT's log im using the following config:
certificateTransparencyInterceptor {
+"*.myhostname.io"
failOnError = false
logger = BasicAndroidCTLogger(BuildConfig.DEBUG)
}
but I receive from logcat CertificateTransparency: domain.myhostname.io Failure: No certificates the okHttp is like this:
okHttpBuilder.addInterceptor(authInterceptor)
.sslSocketFactory(OkHttp3Helper.getSSLSocketFactory(), OkHttp3Helper.getTrustManager())
.addInterceptor(OkHttp3Helper.getPinningInterceptor())
.addNetworkInterceptor(getCertificateTransparencyInterceptor())
.sslSocketFactory(certificatePinning.getSSLSocketFactory(),
certificatePinning.getTrustManager())
.followRedirects(false)
.followSslRedirects(false)
.build()
im adding the intereptor in .addNetworkInterceptor
the certificate is logged by google_xenon2021
and cloudflare_nimbus2021
and they are in the default list
https://www.gstatic.com/ct/log_list/log_list.json
I'm trying to figure out what the problem is but I have no idea,