This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?
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.