MutonUfoAI / pgina

pGina fork: Open Source Windows Authentication
http://mutonufoai.github.io/pgina
BSD 3-Clause "New" or "Revised" License
156 stars 39 forks source link

Selfsigned SSL certificate problems with LDAP plugin #146

Open Speirs47 opened 5 years ago

Speirs47 commented 5 years ago

Hi. I'm setting up pGina.fork on one Windows 10 machine and I've have run into a strange problem.

I got my own CA with Intermediate authority, both imported in that machine. When I set up LDAP plugin to connect over SSL it works flawlessly, which is nice, because I had some issues with that in the past.

I also added my own certificate for RDP connections (so users wouldn't get a message about unverified certificate) to Local computer's Personal certificates folder. After that the pGina stopped working - it would say in the log file that server is unreachable. So just to be sure I deleted the RDP certificate, rebooted and it works again.

It seems like when pGina find a certificate in Personal folder it would ignore everything else or even try to use that certificate. Pointing to a certificate in LDAP plugin configuration is not helping the issue.

For now I will let RDP certificate go but I think it's worth fixing as somebody may have similiar issue with no way of skipping it.