File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes ssl handshake exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "ssl handshake exception " Watch "ssl handshake exception " New topic

ssl handshake exception

muthukumar mahadevan

Joined: Sep 21, 2011
Posts: 10

I am using Rest api call in a web application . That was working fine.

Unfortunately i have formatted my system.

After that i import the previous web application into my workspace. now the same code throws socket exception

Exception in thread "main" java.lang.RuntimeException: Data
SLHandshakeException: PKIX path valid
ation failed: basic constraints c
heck failed: pathLenConstraint violated - this cert must be the last cert in the
certification path

could you clarify me what should i configure in my java environment

I am using java 1.6 and tomcat 6.0
I agree. Here's the link:
subject: ssl handshake exception
It's not a secret anymore!