File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Peer Not Verified exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Peer Not Verified exception" Watch "Peer Not Verified exception" New topic

Peer Not Verified exception

Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

We are doing a HTTPS transport with a back end server which does 3 legged OAuth. When the same code is tried over a Ethernet connection and WiFi networks connected to Internet over a Cable modem, everything works fine. However, on certain WiFi networks, we are getting No peer certificate exceptions.

Why would this work on certain WiFi networks and not on some? What should I be looking at?

Any pointers etc. is most welcome.

[List of FAQs] | [Android FAQ] | [Samuh Varta]
Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

Apparently, this problem has got nothing to do with the medium by which the hardware is connected with internet. The problem is one of the intermediate certificates from the Servers certificate chain are missing from the Keystore on the client.

The interesting thing about this is that this error is not flagged every time but is intermittent.
I agree. Here's the link:
subject: Peer Not Verified exception
Similar Threads
webservice composition
Push Based Messaging in WiFi Networks
Phone to phone communication?
WA #2 ..... word association
how many internet devices do you have?