javax.naming.CommunicationException: simple bind failed: iapp.tum.de:636 [Root exception is javax.net.ssl.SSLHandshakeException: com.sun.vda.service.util.CustomTrustManager$CertificateNotFoundException: An untrusted server certificate was detected]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 805184, 1 year ago
simple bind failed: iapp.tum.de:636 [Root exception is javax.net.ssl.SSLHandshakeException: com.sun.vda.service.util.CustomTrustManager$CertificateNotFoundException: An untrusted server certificate was detected]
via Stack Overflow by wishihadabettername
, 1 year ago
simple bind failed: ldapserver:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
via oracle.com by Unknown author, 2 years ago
simple bind failed: steveaddc.antipodes.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
via Oracle Community by 800477, 1 year ago
simple bind failed: OIT.DocFinity.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
via oracle.com by Unknown author, 1 year ago
simple bind failed: steveaddc.antipodes.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
via oracle.com by Unknown author, 2 years ago
simple bind failed: OIT.DocFinity.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
com.sun.vda.service.util.CustomTrustManager$CertificateNotFoundException: An untrusted server certificate was detected
at com.sun.vda.service.util.CustomTrustManager.checkServerTrusted(CustomTrustManager.java:70)
at com.sun.vda.service.util.CustomTrustManager.checkServerTrusted(CustomTrustManager.java:44)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:877)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:618)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:393)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:334)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2669)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:289)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:134)
at com.sun.sgd.directoryservices.core.connect.SimpleBindConnection.connect(SimpleBindConnection.java:60)
at com.sun.sgd.directoryservices.core.connect.DirectoryConnector.connect(DirectoryConnector.java:171)
at com.sun.sgd.directoryservices.core.service.GenericDirectoryService.connect(GenericDirectoryService.java:220)
at com.sun.sgd.directoryservices.core.DirectoryServiceContext.connect(DirectoryServiceContext.java:221)
at com.sun.sgd.directoryservices.core.DirectoryServiceContext.connect(DirectoryServiceContext.java:201)
at com.sun.directoryservices.service.DirectoryService.connect(DirectoryService.java:122)
at com.sun.vda.service.ldap.UserDirConnection.getBaseDN(UserDirConnection.java:312)
at com.sun.vda.service.ldap.UserDirConnection.getBaseDn(UserDirConnection.java:911)
at com.sun.vda.service.ldap.UserDirConnection.searchForUser(UserDirConnection.java:448)
at com.sun.vda.service.core.UserDirectory.searchForUser(UserDirectory.java:237)
at com.sun.vda.service.userdir.Client.getUserDn(Client.java:157)
at com.sun.vda.service.userdir.Client.getUser(Client.java:56)
at com.sun.vda.service.client.PreferredServers.getPreferredServers(PreferredServers.java:52)
at com.sun.vda.service.client.PreferredServers.execute(PreferredServers.java:37)
at com.sun.vda.service.client.ClientRequestWorker.execute(ClientRequestWorker.java:158)
at com.sun.vda.service.client.ClientRequestWorker.run(ClientRequestWorker.java:73)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.