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사용하여 가져올 수 있습니다.

인증서 파일을 사용하거나 c_rehash . 인증서 파일이 포함된 디렉터리에서 수행할 openssl rehash . 수 있는 실제 인증서 파일에 대한 기호 링크가 되도록 하는 것이 일반적입니다.

적용 대상