- Ensure that MATLAB Web App Server certs/keys are PEM encoded.
- OpenSSL and MATLAB Web App Server require the "BEGIN CERTIFICATE" and "END CERTIFICATE" to be on separate lines in the certificate used for SSL. Similarly, for the private key, ensure that "BEGIN PRIVATE KEY" and "END PRIVATE KEY" are on separate lines.
- The MATLAB Web App Server uses SSL/STARTTLS to secure communication with the LDAP server (SSL on Windows and STARTTLS on Linux and macOS). Make sure the LDAP server is configured to allow SSL/STARTTLS connection over the specified (or default) LDAP port. StartTLS is part of LDAP protocol . Make sure that the non-standardized LDAP ('LDAP over SSL') protocol is not being used instead. (https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol).
- Check if the following environment variable is present: "LDAPTLS_CACERT"
- Make sure that the webapps_authn.json file has the correct port number being used by the server.
- Make sure that the authentication files are named correctly: "webapps_authn.json" and "webapps_app_roles.json" for role-based access or "webapps_acc_ctl.json" for policy-based access, and they are in the correct directory: config/webapps_private
- Make sure that the "userFilter" and "baseDN" fields in webapps_authn.json select a unique user based on their username from the LDAP server.
- Make sure that the "searcherDN" and "searcherPassword" fields in webapps_authn.json are filled out if needed (in particular, the FreeIPA identity management system requires these fields to check for group membership).
LDAP authentication to private server
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I wanted to validate users using LDAP authentication from private server.
Is it possible idirectly from my Matlab application ?
Does i need some special module ?
Have you an example of application ?
Thank you
0 commentaires
Réponses (1)
Kapil Gupta
le 22 Sep 2022
Modifié(e) : Kapil Gupta
le 22 Sep 2022
I understand you are trying to validate users using LDAP authentication.
Authentication is supported in the standalone MATLAB Web App Server. You can read more about the complete process in detail at:
In case you face any issues while using LDAP authentication in MATLAB web app server, given below are a few steps that can be used to debug issues with the authentication :
You can also have a look at this MATLAB Answer which discusses a similar query:
Voir également
Catégories
En savoir plus sur MATLAB Web App Server dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!