Kumar Dhandapani with OkHttp, the URL with the port will be treated as a different URL, so unless in your config you define the pins for both one.host.com and one.host.com:9443 it will only work with the former.

Aside from that, are there any differences in the configuration at the app side? Debug code that is allowing a self-signed cert to be accepted or the TEST version configuring OkHttp differently?

Matt Dolan has been eating doughnuts and developing with Android since the dark days of v1.6.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store