aspose file tools*
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "ssl handshake exception " Watch "ssl handshake exception " New topic
Author

ssl handshake exception

muthukumar mahadevan
Greenhorn

Joined: Sep 21, 2011
Posts: 10
hi,

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 sent:javax.net.ssl.S
SLHandshakeException: sun.security.validator.ValidatorException: PKIX path valid
ation failed: java.security.cert.CertPathValidatorException: 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: http://aspose.com/file-tools
 
subject: ssl handshake exception