Mengubah pengaturan SSL/TLS default.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyDefaultHttps |
update |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CertId |
string |
Yes |
ID sertifikat. |
123-cn-hangzhou |
| TLSVersion |
string |
Yes |
Versi TLS. Valid values:
|
tlsv1 |
| CipherSuite |
integer |
No |
Tipe paket sandi. Valid values:
|
0 |
| CustomCiphers |
array |
No |
Paket sandi kustom spesifik yang akan ditambahkan. Parameter ini hanya digunakan ketika CipherSuite diatur ke 99. |
|
|
string |
No |
Paket sandi kustom. Valid values:
|
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 mengkueri 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 berada. 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 |
ID permintaan. Ini adalah pengidentifikasi unik yang dihasilkan oleh Alibaba Cloud untuk permintaan dan dapat digunakan untuk memecahkan masalah. |
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. | ID sertifikat tidak valid. ID sertifikat: %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 . | Sertifikat telah kedaluwarsa. ID Sertifikat: %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.