node-activedirectory icon indicating copy to clipboard operation
node-activedirectory copied to clipboard

Error Connecting Ldaps in Node.JS Application - UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Open arunmanglick-gep opened this issue 7 years ago • 3 comments

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

arunmanglick-gep avatar May 17 '17 17:05 arunmanglick-gep

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

oxodesign avatar May 22 '17 10:05 oxodesign

I'm having the same issue.

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

Rensdn avatar Aug 31 '18 06:08 Rensdn

Please check #235 also

dedo1911 avatar Nov 02 '21 11:11 dedo1911