node-activedirectory
node-activedirectory copied to clipboard
Error Connecting Ldaps in Node.JS Application - UNABLE_TO_GET_ISSUER_CERT_LOCALLY
Hi,
Facing issue while validating Node.js application (Windows Machine) against AD using Ldaps. Error: UNABLE_TO_GET_ISSUER_CERT_LOCALLY
Steps taken:
- Referred the post here - https://github.com/gheeres/node-activedirectory/issues/14
- Installed certificate chain given by organization.
However still facing same issue. Temporary Resolution as mentioned below/in referred post, resolved the issue. new ActiveDirectory({ // ... tlsOptions: { 'rejectUnauthorized': false } });
But as mentioned in post this is prone to Man in Middle attack. Please advise if any resolution.
Thanks, Arun Manglick
Im having the same issue.
I have done the following: http://blog.heeresonline.com/2014/05/nodejs-cert_untrusted-error but it didn't work.
Running on Windows
I'm having the same issue.
Have you solved it now?@arunmanglick-gep @oxodesign
Please check #235 also