LdapSessionOptions.TrustedCertificatesDirectory 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置包含 PEM 格式 CA 证书的目录的路径。
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
属性值
- 属性
例外
目录不存在。
注解
可以通过用分号分隔多个目录来指定这些目录。
证书文件由 CA 使用者名称哈希值查找。 可以使用 例如。
通常的做法是,将证书文件作为实际证书文件的符号链接,可以通过使用 openssl rehash . 或 c_rehash . 包含证书文件的目录中完成。