Error loading custom-ca
Hi,
we are using a self-signed certificate. So we enter the full path to our custom-ca file, but login does not work. Using insecuretls does work. In the log there is the following warning:
warn[30.3.2022, 22:47:29] Could not load custom CA in LDAP plugin
{
"err": {
"stack": "TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined\n at maybeCallback (fs.js:169:9)\n at Object.readFile (fs.js:320:14)\n at login (/var/www/peertube/storage/plugins/node_modules/peertube-plugin-auth-ldap/main.js:209:48)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)",
"message": "Callback must be a function. Received undefined",
"code": "ERR_INVALID_CALLBACK"
}
}
Best regards Daniel