システム証明書または CSR のプロパティーは変更できません。CSR をポストする前に、CSR のプロパティーを設定します。
信頼できる証明書の services プロパティーの値は設定できます。services プロパティーは、証明書を信頼する必要のあるサービスのリストです。
次の例では、信頼できる証明書の services プロパティーを設定します。
PUT /api/setting/v2/certificates/trusted/trusted-cert2-uuid HTTP/1.1 Authorization: Basic Tm8gcGVla2luZyE= Host: alice.example.com:215 Content-Type: application/json {"certificate": { "services": ["ldap"] }}
次の例では、証明書を信頼する必要のある複数のサービスを設定します。
PUT /api/setting/v2/certificates/trusted/trusted-cert2-uuid HTTP/1.1 Authorization: Basic Tm8gcGVla2luZyE= Host: alice.example.com:215 Content-Type: application/json {"certificate": {"services": [ "ldap", "cloud" ] }}