Mengubah pengaturan SSL/TLS default.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CertId |
string |
Yes |
ID sertifikat. |
123-cn-hangzhou |
| TLSVersion |
string |
Yes |
Versi protokol TLS. Nilai valid:
|
tlsv1 |
| CipherSuite |
integer |
No |
Tipe paket sandi. Nilai valid:
|
0 |
| CustomCiphers |
array |
No |
Paket sandi kustom yang ingin Anda tambahkan. Parameter ini hanya digunakan ketika CipherSuite diatur ke 99. |
|
|
string |
No |
The custom cipher suite. |
ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384 |
|
| InstanceId |
string |
Yes |
ID instans WAF. Catatan
Anda dapat memanggil DescribeInstance untuk Tampilan ID instans WAF saat ini. |
waf_v2_public_cn-*** |
| EnableTLSv3 |
boolean |
No |
Apakah akan mendukung TLS 1.3. Nilai valid:
|
true |
| RegionId |
string |
No |
Wilayah tempat instans WAF diterapkan. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is used to locate and troubleshoot issues. |
276D7566-31C9-4192-9DD1-*** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "276D7566-31C9-4192-9DD1-***"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Waf.Pullin.InvalidCertIdentifier | Invalid certificate ID, certificate ID:%s. | Invalid certificate ID, certificate ID:%s. |
| 400 | Waf.Pullin.CertNotExist | Certificate does not exist in SSL Certificate Center, certificate ID:%s. | |
| 400 | Waf.Pullin.CertEmptyCN | The common name of the certificate is empty, certificate ID:%s. | |
| 400 | Waf.Pullin.CertExpired | Certificate expired, certificate ID:%s . | |
| 400 | Waf.Pullin.InvalidTLS | invalid TLS,TLS:%s . | |
| 400 | Waf.Pullin.InvalidEnableTLSv3 | invalid EnableTLSv3:%s . | |
| 400 | Waf.Pullin.InvalidCipherSuit | Invalid CipherSuit,CipherSuit:%s. | |
| 400 | Waf.Pullin.InvalidCustomCiphers | Invalid InvalidCustomCiphers, CustomCiphers:%s . |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.