[null, {"document_url": "https://www.alibabacloud.com/help/doc-detail/48866.htm", "unformatted_src": "http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/pic/48866/intl_en/1508932270051/1.png", "src": "http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/pic/48866/intl_en/1508932270051/1.png", "alt_text": "1"}, null, {"document_url": "https://www.alibabacloud.com/help/doc-detail/48866.htm", "unformatted_src": "http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/pic/48866/intl_en/1508932282205/2.png", "src": "http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/pic/48866/intl_en/1508932282205/2.png", "alt_text": "2"}, null, {"document_url": "https://www.alibabacloud.com/help/doc-detail/48866.htm", "unformatted_src": "http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/pic/48866/intl_en/1508932297494/3.png", "src": "http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/pic/48866/intl_en/1508932297494/3.png", "alt_text": "3"}, null]

HTTPS is a protocol integrating HTTP and SSL. It encrypts information and data to guarantee data transmission security. HTTPS is widely used today.

The API gateway also supports HTTPS to encrypt your API requests. The encryption can be API-level, that is, you can configure your APIs to support only HTTP or HTTPS or support both of them.

If you require the APIs to support HTTPS, follow these steps:

Step 1. Prepare materials

Prepare the following materials:

The SSL certificate contains XXXXX.key and XXXXX.pem, which can be opened using the text editor.




Step 2: Bind the SSL certificate

After preparing the preceding materials, log on to the API gateway console and click Open API > Group Management. Click the group to which the SSL certificate is to be bound and check the group details.

Before binding the SSL certificate, bind an Independent domain name to the API group. Independent domain name - Add an SSL certificate. Click OK to complete binding of the SSL certificate.

Step 3: Adjust the API configuration

After binding the SSL certificate, you can enable access over HTTP, HTTPS, or HTTP and HTTPS for APIs. For security considerations, we recommend that you configure all APIs to support access over HTTPS. You can select Open API > API list to locate the corresponding API and click API definition > Edit > Basic request definition to modify the API.

The API supports the following protocols:

After the adjustment, the API configuration is complete. Your API supports access over HTTPS.


