Hi again! I've been trying to set up LDAP Authentication for JS7 JOB SCHEDULER and i havent been able to configure to use STARTTLS. When i try to connect using an LDAP user the authentication log gives me this error:
i´ve add an rootCA.p12 file that was made using my rootCA.pem and rootCA.key, also tried using ldap.p12 file made using my ldap.crt and ldap.key, both of those were located on /jetty_base/resources/joc/.
When i use ldapsearch with a -ZZ flag i am able to do query as normal, which suggests that my OpenLDAP server is capable of STARTTLS connections.
In the doc it says that "For connections to well known LDAP Identity Providers such as Azure® users should specify the path to the Java cacerts truststore file that ships with the Java JDK used with JOC Cockpit."
Could that be the case? are my .p12 files supposed to be on this "For connections to well known LDAP Identity Providers such as Azure® users should specify the path to the Java cacerts truststore file that ships with the Java JDK used with JOC Cockpit."?
the JOC Cockpit has to validate the LDAP Server Certificate.
This means that the private key and certificate should remain with the LDAP server only.
The JOC Cockpit should add to its truststore the Root CA Certificate that was used to sign the LDAP Server Certificate. You have a choice for the truststore:
Use the truststore specified with the joc.properties file.
In the JOC Cockpit GUi navigate to the settings of your LDAP Identity Service, use the "More Options" sub-tab and specify the settings for your truststore:
Truststore path: rootCA.p12
Truststore type: PKCS12
Truststore password: <as specified when you created the tuststore>
This assumes that in fact the rootCA.p12 is a trusstore in PKCS12 format and holds the Root CA Certificate as indicated with your previous post.
Best regards
Andreeas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi again! I've been trying to set up LDAP Authentication for JS7 JOB SCHEDULER and i havent been able to configure to use STARTTLS. When i try to connect using an LDAP user the authentication log gives me this error:
i´ve add an rootCA.p12 file that was made using my rootCA.pem and rootCA.key, also tried using ldap.p12 file made using my ldap.crt and ldap.key, both of those were located on
/jetty_base/resources/joc/.When i use ldapsearch with a -ZZ flag i am able to do query as normal, which suggests that my OpenLDAP server is capable of STARTTLS connections.
In the doc it says that "For connections to well known LDAP Identity Providers such as Azure® users should specify the path to the Java cacerts truststore file that ships with the Java JDK used with JOC Cockpit."
Could that be the case? are my .p12 files supposed to be on this "For connections to well known LDAP Identity Providers such as Azure® users should specify the path to the Java cacerts truststore file that ships with the Java JDK used with JOC Cockpit."?
Hi Marcello,
the JOC Cockpit has to validate the LDAP Server Certificate.
Best regards
Andreas
So, my joc.properties file have this:
But my directory doenst have an joc.p12 file.
Thanks for the help!
In the JOC Cockpit GUi navigate to the settings of your LDAP Identity Service, use the "More Options" sub-tab and specify the settings for your truststore:
Truststore path:
rootCA.p12Truststore type:
PKCS12Truststore password:
<as specified when you created the tuststore>This assumes that in fact the rootCA.p12 is a trusstore in PKCS12 format and holds the Root CA Certificate as indicated with your previous post.
Best regards
Andreeas