Jazyk

LdapSessionOptions.TrustedCertificatesDirectory Vlastnost

Definice

Získá nebo nastaví cestu adresáře obsahující certifikáty ca ve formátu PEM.

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

Hodnota vlastnosti

Atributy

Výjimky

Adresář neexistuje.

Poznámky

Více adresářů je možné zadat tak, že je oddělíte středníkem.

Soubory certifikátů vyhledá hodnota hash názvu subjektu certifikační autority. Hodnotu hash lze získat například openssl x509 -hash -noout -in CA.crtpomocí .

Je běžné mít soubor certifikátu symbolický odkaz na skutečný soubor certifikátu, který lze provést pomocí openssl rehash . nebo c_rehash . v adresáři obsahujícím soubory certifikátů.

Platí pro