LAT - SSL Support
Last night I was hacking on SSL support in LAT. At first I couldn’t make an SSL connection, I kept getting errors about the certificate.
Turns out I needed to use the certmgr tool in Mono to import the certificate into the user’s certificate store:
$ certmgr -ssl ldaps://ldap.example.com:636
Once I did that I could make a connection. Next I dug in to the certmgr source code to see how it was adding entries to the store.
I cut/paste some of the code into LAT (my code is GPL’d; so is the certmgr) so that if you didn’t have a certificate in the store already it would popup a dialog and ask you if you want to import it.
That should have taken care of things but then I discovered that after you first import the certificate it still fails to connect. It only works if you re-launch LAT.
I’ll need to figure out if it’s possible to work around that. So close and yet so far