Mengaktifkan Transport Layer Security (TLS) untuk instans Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
Anda juga dapat mengonfigurasi enkripsi SSL di Konsol. Untuk informasi selengkapnya, lihat Configure SSL encryption.
Untuk menentukan versi SSL paling awal yang didukung, Anda dapat memanggil operasi ModifyInstanceConfig guna mengubah parameter yang diperlukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyInstanceSSL |
update |
*DBInstance
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
| SSLEnabled |
string |
Yes |
Menentukan apakah akan mengaktifkan enkripsi TLS (SSL). Nilai yang valid:
|
Enable |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
AD7E16AA-6B23-43BF-979C-07D957FB**** |
| InstanceId |
string |
ID instans. |
r-bp1zxszhcgatnx**** |
| TaskId |
string |
ID task. |
32184**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "AD7E16AA-6B23-43BF-979C-07D957FB****",
"InstanceId": "r-bp1zxszhcgatnx****",
"TaskId": "32184****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters.Format | Specified parameters is not valid. | |
| 403 | IncorrectCharacterType | Current DB instance CharacterType does not support this operation. | |
| 403 | IncorrectEngineVersion | Current engine version does not support operations. | |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | |
| 403 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | |
| 404 | EnabledSSLNotSupport | Specified region does not support enable ssl. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.