Queries the default SSL/TLS settings.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeDefaultHttps |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf-cn-7pp26f1**** |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The Alibaba Cloud resource group ID. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F35F45B0-5D6B-4238-BE02-A62D****E840 |
| DefaultHttps |
object |
The default SSL/TLS settings. |
|
| CustomCiphers |
string |
The custom cipher suites. |
ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384 |
| TLSVersion |
string |
The TLS version. Valid values:
|
tlsv1 |
| CertId |
string |
The ID of the certificate. |
123-cn-hangzhou |
| CipherSuite |
string |
The type of the cipher suite. Valid values:
|
1 |
| EnableTLSv3 |
boolean |
Indicates whether TLS 1.3 is supported. Valid values:
Note
This parameter takes effect only when HttpsPorts is not empty, which indicates that the domain name uses the HTTPS protocol. When TLSVersion is set to tlsv1.3, this value must be true. |
true |
Examples
Success response
JSON format
{
"RequestId": "F35F45B0-5D6B-4238-BE02-A62D****E840",
"DefaultHttps": {
"CustomCiphers": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384",
"TLSVersion": "tlsv1",
"CertId": "123-cn-hangzhou",
"CipherSuite": "1",
"EnableTLSv3": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.