javax.naming.CommunicationException: simple bind failed: ldap.abc.edu: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 | 2735366 | 2 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

    InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty while log in into imaging

    Oracle Community | 2 years ago | 2735366
    javax.naming.CommunicationException: simple bind failed: ldap.abc.edu: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

    Still getting SunCertPathBuilderException after importing certificate

    Stack Overflow | 4 years ago | MahmoudS
    javax.naming.CommunicationException: simple bind failed: server.ip: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]
  3. 0

    WSO2 Identity Server with OpenLDAP and SSL

    Stack Overflow | 4 years ago | tykeal
    javax.naming.CommunicationException: simple bind failed: ldapserver.example.com: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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nexus and LDAP - JNDI-Problem while authenticating users against OpenLDAP Server

    Stack Overflow | 8 years ago | Patrick Zeising
    javax.naming.CommunicationException: [LDAP: error code 2 - version not supported]
  6. 0

    Problems programmatically connecting to AD

    Stack Overflow | 6 years ago | Rasmus Franke
    javax.naming.CommunicationException: mydomain.mycompany.com:389 [Root exception is java.net.ConnectException: Connection timed out: connect] at com.sun.jndi.ldap.Connection.<init>(Connection.java:210) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)

    1 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: ldap.abc.edu: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
      LdapCtx.connect
      1. com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:195)
      2. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2720)
      2 frames