• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Peer Not Verified exception

 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 javax.net.ssl.SSLPeerUnverifiedException: 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.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic