SSL Exception Connecting Sonatype IQ Server Running in Kubernetes to LDAP

The following error may occur when attempting to connect IQ Server running in Kubernetes to an LDAP server over SSL.

javax.naming.CommunicationException: <host>:<port>[Root exception is Remote host closed connection during handshake]

For allowing secure access to LDAP, you would need configure a truststore that contains the cert from the LDAP server in the service script used to start up IQ Server. In Kubernetes, you'll need to pass this in via an environment variable in the deployment file:

    - name: JAVA_OPTS
      value: "<replace_with_absolute_full_path>/nexus-iq-server-outbound.jks"



Have more questions? Submit a request


Article is closed for comments.