javax.naming.CommunicationException: simple bind failed: 10.88.164.231:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]

Oracle Community | RPB25 | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Facing issue when LDAPSync is enabled for OIM-AD integration with SSL enabled

    Oracle Community | 3 years ago | RPB25
    javax.naming.CommunicationException: simple bind failed: 10.88.164.231:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]
  2. 0

    ClassNotFoundException when using custom SSLSocketFactory

    Stack Overflow | 5 years ago | Jagadish G
    javax.naming.CommunicationException: 192.168.100.22:636 [Root exception is java.lang.ClassNotFoundException: com/testing/diraccess/service/ActiveDirectory$TestSSLFactory]
  3. 0

    LDAP Synchronization Connector - Bug #27: Connection on ldaps:// URI - LSC

    lsc-project.org | 8 months ago
    javax.naming.CommunicationException: simple bind failed: localhost:389 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to accept self-signed certificates for JNDI/LDAP connections?

    Stack Overflow | 6 years ago | wishihadabettername
    javax.naming.CommunicationException: 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]
  6. 0

    [SEC-2664] ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException - Spring JIRA

    spring.io | 1 year ago
    org.springframework.ldap.CommunicationException: myazuread.cloudapp.net:389; nested exception is javax.naming.CommunicationException: myazuread.cloudapp.net:389

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.CommunicationException

      simple bind failed: 10.88.164.231:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]

      at com.sun.jndi.ldap.LdapClient.authenticate()
    2. Java RT
      InitialLdapContext.<init>
      1. com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:195)
      2. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2720)
      3. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
      4. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      5. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
      6. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
      7. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
      8. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      9. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      10. javax.naming.InitialContext.init(InitialContext.java:223)
      11. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
      11 frames
    3. oracle.ods.virtualization
      PluginManager.runGet
      1. oracle.ods.virtualization.engine.backend.jndi.JNDIConnectionPool.createCtx(JNDIConnectionPool.java:463)
      2. oracle.ods.virtualization.engine.backend.jndi.JNDIConnectionPool.create(JNDIConnectionPool.java:494)
      3. oracle.ods.virtualization.engine.backend.jndi.JNDIConnectionPool.<init>(JNDIConnectionPool.java:156)
      4. oracle.ods.virtualization.engine.backend.jndi.RemoteServer.getJNDIConnectionPool(RemoteServer.java:163)
      5. oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:984)
      6. oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:927)
      7. oracle.ods.virtualization.engine.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:415)
      8. oracle.ods.virtualization.engine.backend.jndi.ConnectionHandle.search(ConnectionHandle.java:250)
      9. oracle.ods.virtualization.engine.backend.jndi.JNDIEntrySet.initialize(JNDIEntrySet.java:219)
      10. oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.get(BackendJNDI.java:728)
      11. oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:303)
      12. oracle.ods.virtualization.engine.chain.BasePlugin.get(BasePlugin.java:89)
      13. oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:314)
      14. oracle.ods.virtualization.engine.chain.BasePlugin.get(BasePlugin.java:89)
      15. oracle.ods.virtualization.engine.chain.plugins.usermanagement.UserManagement.get(UserManagement.java:742)
      16. oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:314)
      17. oracle.ods.virtualization.engine.chain.PluginChain.runGet(PluginChain.java:211)
      18. oracle.ods.virtualization.engine.chain.PluginManager.runGet(PluginManager.java:351)
      19. oracle.ods.virtualization.engine.chain.PluginManager.runGet(PluginManager.java:316)
      19 frames