Following exception happens when OkHttp tries to connect to a server using IP address:
javax.net.ssl.SSLPeerUnverifiedException: Hostname 195.168.2.68 not verified:
certificate: sha256/rxO7r+KJOj2iTLR+MPWF7rNV45BYYQKvhlsb4K6yHXE=
DN: CN=test sandbox,OU=it,O=abc,L=newyork,ST=western,C=us
subjectAltNames: []
A server has a self-signed SSL Certificate which was generated for server's IP address.
Base Url is : https://195.168.2.68:8092/Mobile/
Whats going wrong here?