| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | name | string | |
| default | host_status | boolean | |
| ssli_setting | ssli_status | boolean | |
| ssli_setting | mode | enum | Available values:
|
| rs | rs | asso | |
| ssl_sni | ssl_sni | string | |
| certificates | certs | asso | |
| certificates | backup_certs | asso | |
| server_verification | accept_chain | boolean | Sets whether the SSL real host uses the certificate chain sent by the peer in the SSL handshake to verify the peer's certificate. The certificate is considered as verified if one CA certificate in the certificate chain matches one in the trust CA list. |
| server_verification | server_common_name | string | Sets the expected server certificate common name for the SSL real host. After the server certificate is successfully verified, the SSL real host checks whether the common name in the server certificate matches the configured common name. If they do not match, the SSL real host will reject the SSL server certificate. This function only takes effect when the certificate verification function is enabled. |
| advanced_options | client_auth | boolean | |
| advanced_options | session_reuse | boolean | |
| advanced_options | autosni | boolean | |
| advanced_options | protocol | multienum | |
| advanced_options | cipher_suite | asso | |
| advanced_options | signalgo | asso | |
| advanced_options | curves | asso | |
| advanced_options | rsa_key_length | int | |
| advanced_options | ecc_key_length | int | |
| conn_statistics | open_conn | StorableField | |
| conn_statistics | accept_conn | StorableField | |
| conn_statistics | request_conn | StorableField | |
| conn_statistics | request_rate | StorableField | |
| sess_statistics | resumed_sess | StorableField | |
| sess_statistics | resumable_sess | StorableField | |
| sess_statistics | sess_misses | StorableField |
{
"SSLRealHost": {
"meta": {
"abstract": false,
"verbose_name": SSL Real Host,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| name | string |
{
"SSLRealHost": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| targets | string or list | specify the target instance. | ||||||||||||||||||||||||||||||||||||||||||
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. | ||||||||||||||||||||||||||||||||||||||||||
| using | UnionField (Nested Field. It should be a dict.)
|
Format
{
"tftp": {
"index" : xxxx,
"tftp_ip" : xxxx,
"cert_file_name" : xxxx,
"key_file_name" : xxxx,
"key_passphrase" : xxxx,
"passphrase" : xxxx
}
}
{
"manual_input": {
"index" : xxxx,
"key_passphrase" : xxxx,
"cert_content" : xxxx,
"key" : xxxx
}
}
|
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
| filename | string | |
| pwd_key | string |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify one target asso you want to perform action on. And the target asso is required. |
| pwd_key | string |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
| tftp_ip | ip4addr | |
| filename | string | |
| pwd_key | string |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"SSLRealHost": [
{
"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, ssli_setting, rs, ssl_sni, certificates, server_verification, advanced_options, conn_statistics, sess_statistics, 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: name, host_status, ssli_status, mode, rs, ssl_sni, certs, backup_certs, accept_chain, server_common_name, client_auth, session_reuse, autosni, protocol, cipher_suite, signalgo, curves, rsa_key_length, ecc_key_length, open_conn, accept_conn, request_conn, request_rate, resumed_sess, resumable_sess, sess_misses, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | name | string | |
| default | host_status | boolean | |
| ssli_setting | ssli_status | boolean | |
| ssli_setting | mode | enum | Available values:
|
| rs | rs | asso | |
| ssl_sni | ssl_sni | string | |
| certificates | certs | asso | |
| certificates | backup_certs | asso | |
| server_verification | accept_chain | boolean | Sets whether the SSL real host uses the certificate chain sent by the peer in the SSL handshake to verify the peer's certificate. The certificate is considered as verified if one CA certificate in the certificate chain matches one in the trust CA list. |
| server_verification | server_common_name | string | Sets the expected server certificate common name for the SSL real host. After the server certificate is successfully verified, the SSL real host checks whether the common name in the server certificate matches the configured common name. If they do not match, the SSL real host will reject the SSL server certificate. This function only takes effect when the certificate verification function is enabled. |
| advanced_options | client_auth | boolean | |
| advanced_options | session_reuse | boolean | |
| advanced_options | autosni | boolean | |
| advanced_options | protocol | multienum | |
| advanced_options | cipher_suite | asso | |
| advanced_options | signalgo | asso | |
| advanced_options | curves | asso | |
| advanced_options | rsa_key_length | int | |
| advanced_options | ecc_key_length | int | |
| conn_statistics | open_conn | StorableField | |
| conn_statistics | accept_conn | StorableField | |
| conn_statistics | request_conn | StorableField | |
| conn_statistics | request_rate | StorableField | |
| sess_statistics | resumed_sess | StorableField | |
| sess_statistics | resumable_sess | StorableField | |
| sess_statistics | sess_misses | StorableField |
{
"SSLRealHost": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"SSLRealHost": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"SSLRealHost": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
{
<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: host_status, ssli_status, mode, ssl_sni, accept_chain, server_common_name, client_auth, session_reuse, autosni, protocol, |
| Field Name | Type | Description |
|---|---|---|
| host_status | boolean | |
| ssli_status | boolean | |
| mode | enum | Available values:
|
| ssl_sni | string | |
| accept_chain | boolean | Sets whether the SSL real host uses the certificate chain sent by the peer in the SSL handshake to verify the peer's certificate. The certificate is considered as verified if one CA certificate in the certificate chain matches one in the trust CA list. |
| server_common_name | string | Sets the expected server certificate common name for the SSL real host. After the server certificate is successfully verified, the SSL real host checks whether the common name in the server certificate matches the configured common name. If they do not match, the SSL real host will reject the SSL server certificate. This function only takes effect when the certificate verification function is enabled. |
| client_auth | boolean | |
| session_reuse | boolean | |
| autosni | boolean | |
| protocol | multienum |
All configuration fields and their values are replied:
{
"SSLRealHost": {
"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 |
{
"SSLRealHost": {
"instance_id":<instance_id>,
"certs":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"SSLRealHost": {
"instance_id":<instance_id>,
"backup_certs":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}