-
Notifications
You must be signed in to change notification settings - Fork 395
-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No TLS / STARTTLS with LDAP #146
Comments
Hey @Perflyst! {
url: "ldaps://localhost",
bindDN: "...",
bindCredentials: "...",
searchBase: "...",
searchFilter: "...",
searchAttributes: ["..."],
tlsOptions: {
ca: [
fs.readFileSync("/path/to/root_ca_cert.crt")
]
}
} |
I would say this does not matter here? It is not signed for localhost nor the IP address so CodiMD crashes because of this? |
Ah. If you want to disable the verification of TLS certificates entirely, you could try: {
url: "ldaps://localhost",
bindDN: "...",
bindCredentials: "...",
searchBase: "...",
searchFilter: "...",
searchAttributes: ["..."],
tlsOptions: {
rejectUnauthorized: false,
}
} |
Worked, thanks. |
Currently it is not possible to use a local LDAP server, e.g.
"url": "ldap://127.0.0.1"
First of all the error does not tell you that there is an issue with the encrypted connection
Please add a way to connect "PLAIN" or accept the ssl certificate even if it is for another hostname.
Current workaround:
/etc/hosts
127.0.0.1 ldap.domain.tld
The text was updated successfully, but these errors were encountered: