Hey James,
My guess is that you either don't have a certificate on your QATrack+ server, or you haven't configured it yet. This generic line:
AD_CERT_FILE = None # AD_CERT_FILE='/path/to/your/cert.txt'
needs to be set to the location of a valid certificate since LDAPS is being used (so that credentials aren't being sent in plain text). Should be something like this in your settings.py file for a Windoze system:
AD_CERT_FILE='C:\certs\server.com.pem'
If you're not sure if you have a certificate on your server, you can run this command in PowerShell (replace
server.com with your server's domain name):
Semi-related: if you're using HTTPS to connect to QAT, the certificate also needs to get set in your web server. For IIS, see Server Certificates. For nginx, add lines like these to the server section in the nginx.conf file:
server {
listen xxx.xxx.xxx.xxx:443 ssl;
ssl_certificate ssl/cert.pem;
ssl_certificate_key ssl/key.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
...
}
Good luck,
Merle