LdapSessionOptions.TrustedCertificatesDirectory プロパティ

定義

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 x509 -hash -noout -in CA.crtを使用して取得できます。

証明書ファイルを実際の証明書ファイルへのシンボリック リンクにすることは一般的な方法です。実際の証明書ファイルへのシンボリック リンクは、証明書ファイルを含むディレクトリで openssl rehash . または c_rehash . を使用して行うことができます。

適用対象