Hi All
I have client/ Server communication set-up over SSL and have designed
both
client and server program in Java and are deployed at different
machine.We
have a single client program and multiple servers running on different
machines.Only one of the server is running on the machine while other
servers are generating the following error message :
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.ServerHandshaker.clientCertificate(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown
Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown
Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at
com.oblix.ocif.core.services.OCIFRequestDispatcher$ClientSocketWrapper.proce
ss(OCIFRequestDispatcher.java:500
)
at
com.oblix.ocif.core.services.OCIFRequestDispatcher$ListenningThread.run(OCIF
RequestDispatcher.java:455)
Caused by: sun.security.validator.ValidatorException: No trusted
certificate
found
at
sun.security.validator.SimpleValidator.buildTrustedChain(Unknown
Source)
at
sun.security.validator.SimpleValidator.engineValidate(Unknown
Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(Unknown
Source)
It would be a great help if anybody could provide the solution for
this.
Thanks
Pramod
|
|
0
|
|
|
|
Reply
|
pramod.Athelli (1)
|
2/6/2006 10:33:34 AM |
|