Verifying the OkHttp certificate chain

We are using the Okhttp client to call other REST services.

Does OkHttp validate the entire certificate chain up to the root certificate when invoking https?

+3


source to share


1 answer


OkHttp relies on SSLSocket frameworks to do this in a handshake. The certificate chain is verified and its root directory must be trusted.



+3


source







All Articles