Jenkins EKS SSLHandshakeException issue

Unable to connect to javax.naming.CommunicationException: anonymous bind failed: ldap- [Root exception is PKIX path building failed: unable to find valid certification path to requested target].
Some of our application migration like xlrelease etc solved this by setting the below flag
JVM_SUPPORT_RECOMMENDED_ARGS="-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true". I need help to find the same file setenv from jenkins .