LdapSessionOptions.TrustedCertificatesDirectory Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the path of the directory containing CA certificates in the PEM format.
public:
 property System::String ^ TrustedCertificatesDirectory { System::String ^ get(); void set(System::String ^ value); };
	[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public string TrustedCertificatesDirectory { get; set; }
	[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
member this.TrustedCertificatesDirectory : string with get, set
	Public Property TrustedCertificatesDirectory As String
	Property Value
- Attributes
 
Exceptions
The directory does not exist.
Remarks
Multiple directories can be specified by separating them with a semi-colon.
The certificate files are looked up by the CA subject name hash value. The hash can be obtained by using, for example, openssl x509 -hash -noout -in CA.crt.
It is a common practice to have the certificate file be a symbolic link to the actual certificate file, which can be done by using openssl rehash . or c_rehash . in the directory containing the certificate files.