Go to main content

Oracle® ZFS Storage Appliance RESTful API ガイド、Release OS8.8.x

印刷ビューの終了

更新: 2021 年 8 月
 
 

証明書を信頼する必要のあるサービスの指定

システム証明書または 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" ] }}