SMTP and LPAD using ssl at the same time causes authentication malfunction

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 3.4.6
    • Component/s: None

      Problem

      When trying to set JNDI mail server with ssl authentication adding the public key for the mail server with the following parameter to bin/setenv.bat or setenv.sh:

      export JAVA_OPTS="-Djavax.net.ssl.trustStore=$HOME/.keystore"
      

      Into an environment with LDAP integration set to use ssl protocol, LDAP authentication don't work.
      Error message showed at the logs:

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

      Fix

      There is none yet.

      Workaround

      Use mail server without ssl.

            Assignee:
            David Rizzuto (Inactive)
            Reporter:
            Tiago Comasseto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: