全部產品
Search
文件中心

Edge Security Acceleration:GetOriginCaCertificate - 擷取原始伺服器CA認證資訊

更新時間:Mar 13, 2026

擷取原始伺服器CA認證資訊。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

SiteId

integer

網站 ID,可通過調用 ListSites 介面擷取。

123456789****

Id

string

認證 ID。

babaabcd****

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

SiteId

integer

網站 ID。

123456789****

SiteName

string

網站名稱。

example.com

Status

string

認證狀態。

OK

Certificate

string

認證內容。

-----BEGIN CERTIFICATE-----

Result

object

認證資訊。

Id

string

認證 ID。

babaabcd****

Name

string

認證名稱。

yourCertName

Status

string

認證狀態。

OK

Type

string

認證類型。

upload

CommonName

string

認證通用名稱。

www.example.com

NotBefore

string

認證有效期間開始時間。

2023-03-31 02:08:00

NotAfter

string

認證有效期間截止時間。

2024-03-31 02:08:00

Issuer

string

認證發行商。

GlobalSign nv-sa

SAN

string

認證主題備用名。

www.example.com,*.example.com

SignatureAlgorithm

string

認證簽名演算法。

SHA256-RSA

PubkeyAlgorithm

string

認證公開金鑰演算法。

RSA

CreateTime

string

建立時間。

2024-03-05 18:24:04

UpdateTime

string

更新時間。

2024-03-05 18:24:04

SerialNumber

string

認證序號。

babaded901474b9693acf530e0fb1d**

FingerprintSha256

string

認證 sha256 指紋。

1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****

RequestId

string

請求 ID。

3558df77-8a7a-4060-a900-2d7949403836

樣本

正常返回樣本

JSON格式

{
  "SiteId": 0,
  "SiteName": "example.com",
  "Status": "OK",
  "Certificate": "-----BEGIN CERTIFICATE-----",
  "Result": {
    "Id": "babaabcd****",
    "Name": "yourCertName",
    "Status": "OK",
    "Type": "upload",
    "CommonName": "www.example.com ",
    "NotBefore": "2023-03-31 02:08:00",
    "NotAfter": "2024-03-31 02:08:00",
    "Issuer": "GlobalSign nv-sa",
    "SAN": "www.example.com,*.example.com",
    "SignatureAlgorithm": "SHA256-RSA",
    "PubkeyAlgorithm": "RSA",
    "CreateTime": "2024-03-05 18:24:04",
    "UpdateTime": "2024-03-05 18:24:04",
    "SerialNumber": "babaded901474b9693acf530e0fb1d**",
    "FingerprintSha256": "1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****"
  },
  "RequestId": "3558df77-8a7a-4060-a900-2d7949403836"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 InvalidParameter.SiteId Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. SiteId參數無效,無法通過指定的SiteId擷取對應的網站名稱,請確認SiteId後重試。
400 MissingSiteId Required parameter SiteId missing. Specify SiteId and try again. 缺少必填參數SiteId,請指定SiteId參數後重試。
400 InternalException Failed to call the service. Try again later or contact technical support. 調用服務失敗,請稍後重試或聯絡客服諮詢詳情。
400 InvalidParameter The specified parameter is invalid. 輸入參數規範校正失敗。
400 Id.MissingParameter The parameter Id is required. 缺少必填參數Id。
403 Unauthorized.InvalidTime The specified authentication time is invalid. 您輸入的鑒權時間參數無效,請檢查參數值後重試。
403 Unauthorized.InvalidToken Token authentication failed. 您輸入的token無效,請檢查並輸入正確的token後進行重試。
404 Certificate.NotFound The specified certificate does not exist. 指定的認證不存在。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情