| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | vhost | asso | |
| default | client_auth | boolean | When this function is enabled, the SSL virtual host will verify the client certificate during SSL handshake. |
| default | cert_filter | asso | A certificate filter contains at least one filter condition and at most two filter conditions. Certificate filter conditions can be configured based on the "subject" or "issuer" field. At most three certificate filters can be configured. If the client certificate does not match any of them, the SSL virtual host will reject the client access. |
| default | accept_chain | boolean | The SSL virtual host uses the certificate chain sent by the peer in the SSL handshake to verify the client's certificate. The certificate is considered as verified if one CA certificate in the certificate chain matches one in the trusted CA list. This function takes effect only when Client Authentication is enabled. |
| default | minimum_key | GroupField | |
| default | clientcert_minkey | enum | Sets the minimum RSA key length required for client certificates to access the SSL virtual host. When the RSA key length of the client certificate is smaller than the specified minimum RSA key length, the SSL virtual host will reject the client access. This setting takes effects only when Client Authentication is enabled.Available values:
|
| default | mandatory_auth | boolean | When the Client Authentication mandatory mode is enabled, the SSL virtual host will discard the SSL connection and reject all client requests when the client does not provide its certificate to the SSL virtual host. |
| default | enable_ocsp | boolean | |
| default | ocsp_url | url | |
| default | enable_crl_online | boolean | |
| default | crl | asso | |
| default | certs | asso |
{
"SSLClientVerificationSettings": {
"meta": {
"abstract": false,
"verbose_name": SSL Client Verification Settings,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
"SSLClientVerificationSettings": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: vhost, client_auth, cert_filter, accept_chain, minimum_key, clientcert_minkey, mandatory_auth, enable_ocsp, ocsp_url, enable_crl_online, crl, certs, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | vhost | asso | |
| default | client_auth | boolean | When this function is enabled, the SSL virtual host will verify the client certificate during SSL handshake. |
| default | cert_filter | asso | A certificate filter contains at least one filter condition and at most two filter conditions. Certificate filter conditions can be configured based on the "subject" or "issuer" field. At most three certificate filters can be configured. If the client certificate does not match any of them, the SSL virtual host will reject the client access. |
| default | accept_chain | boolean | The SSL virtual host uses the certificate chain sent by the peer in the SSL handshake to verify the client's certificate. The certificate is considered as verified if one CA certificate in the certificate chain matches one in the trusted CA list. This function takes effect only when Client Authentication is enabled. |
| default | minimum_key | GroupField | |
| default | clientcert_minkey | enum | Sets the minimum RSA key length required for client certificates to access the SSL virtual host. When the RSA key length of the client certificate is smaller than the specified minimum RSA key length, the SSL virtual host will reject the client access. This setting takes effects only when Client Authentication is enabled.Available values:
|
| default | mandatory_auth | boolean | When the Client Authentication mandatory mode is enabled, the SSL virtual host will discard the SSL connection and reject all client requests when the client does not provide its certificate to the SSL virtual host. |
| default | enable_ocsp | boolean | |
| default | ocsp_url | url | |
| default | enable_crl_online | boolean | |
| default | crl | asso | |
| default | certs | asso |
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: client_auth, accept_chain, minimum_key, clientcert_minkey, mandatory_auth, enable_ocsp, ocsp_url, enable_crl_online, |
| Field Name | Type | Description |
|---|---|---|
| client_auth | boolean | When this function is enabled, the SSL virtual host will verify the client certificate during SSL handshake. |
| accept_chain | boolean | The SSL virtual host uses the certificate chain sent by the peer in the SSL handshake to verify the client's certificate. The certificate is considered as verified if one CA certificate in the certificate chain matches one in the trusted CA list. This function takes effect only when Client Authentication is enabled. |
| minimum_key | GroupField | |
| clientcert_minkey | enum | Sets the minimum RSA key length required for client certificates to access the SSL virtual host. When the RSA key length of the client certificate is smaller than the specified minimum RSA key length, the SSL virtual host will reject the client access. This setting takes effects only when Client Authentication is enabled.Available values:
|
| mandatory_auth | boolean | When the Client Authentication mandatory mode is enabled, the SSL virtual host will discard the SSL connection and reject all client requests when the client does not provide its certificate to the SSL virtual host. |
| enable_ocsp | boolean | |
| ocsp_url | url | |
| enable_crl_online | boolean |
All configuration fields and their values are replied:
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
"cert_filter":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| cert1 | string | |
| cert2 | string |
{
"CertFilter": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
"crl":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"SSLClientVerificationSettings": {
"instance_id":<instance_id>,
"certs":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}