none
How do you specify where LDAP SSL certificate db files are located in C# and .NET? RRS feed

  • Question

  • We are new to using LDAP and SSL in our C# .NET application.  We've got it working, but the certificate db files (cert7.db, key3.db, and secmod.db) must be placed in the bin folder where the .exe file is located.  Is there a way to specify the db files are in a different folder, rather than the bin folder?  We're using System.DirectoryServices.Protocols.LdapConnection to connect to LDAP and System.Net.NetworkCredential to validate the user and password.
    Wednesday, March 7, 2018 4:22 PM

Answers

  • I'm not familiar with LDAP connections but I don't know why it would be any different than using certs in all other cases, including SSL. Certs should be stored in the certificate store of the network or machine. You then retrieve the cert from the store. This allows the network team to manage (and update) the certs. 


    Michael Taylor http://www.michaeltaylorp3.net

    Wednesday, March 7, 2018 6:29 PM
    Moderator