gheeres / node-activedirectory

ActiveDirectory is an Node.js ldapjs client for authN (authentication) and authZ (authorization) for Microsoft Active Directory with range retrieval support for large Active Directory installations.
MIT License
534 stars 146 forks source link

Error Connecting Ldaps in Node.JS Application - UNABLE_TO_GET_ISSUER_CERT_LOCALLY #157

Open arunmanglick-gep opened 7 years ago

arunmanglick-gep commented 7 years ago

Hi,

Facing issue while validating Node.js application (Windows Machine) against AD using Ldaps. Error: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Steps taken:

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

oxodesign commented 7 years ago

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

Rensdn commented 6 years ago

I'm having the same issue.

Have you solved it now?@arunmanglick-gep @oxodesign

dedo1911 commented 2 years ago

Please check #235 also