Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length

AnyOne Help me to solve this Issue ==>
Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length

[2022-09-06 12:09:53] Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length
at Decipheriv.final (node:internal/crypto/cipher:193:29)
at Object.exports.decrypt (/opt/auth0-adldap/lib/crypto.js:47:76)
at initializeConnection (/opt/auth0-adldap/lib/ldap.js:97:71)
at Object.get [as binder] (/opt/auth0-adldap/lib/ldap.js:129:24)
at new module.exports (/opt/auth0-adldap/lib/users.js:54:29)
at Object. (/opt/auth0-adldap/ws_validator.js:8:13)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)

Hi @avinash.gupta,

Welcome to the Auth0 Community and apologies for the delay!

Do you have some more information on how you are getting to this error?

Hi @avinash.m,

This error relates to configuring the AD/LDAP Connector. Specifically, it seems the error comes from trying to decrypt an empty password. I would need to see your config.json file to investigate the issue further.

Here are two resources that could help:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.