ドメイン名粒度でオリジンへのクライアント証明書情報を取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:GetOriginClientCertificate |
get |
*サイト。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。 ListSites 操作を呼び出して取得できます。 |
123456789**** |
| Id |
string |
必須 |
証明書 ID。 |
babaabcd**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ。 |
||
| SiteId |
integer |
サイト ID。 ListSites 操作を呼び出して取得できます。 |
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 |
証明書の有効期間の開始時刻。フォーマット: YYYY-MM-DD HH:MM:SS、協定世界時 (UTC)/GMT タイムゾーン。 |
2023-03-31 02:08:00 |
| NotAfter |
string |
証明書の有効期間の終了時間。フォーマット: YYYY-MM-DD HH:MM:SS、協定世界時 (UTC)/GMT タイムゾーン。 |
2024-03-31 02:08:00 |
| Issuer |
string |
証明書の発行権限。 |
DigiCert |
| SAN |
string |
証明書のサブジェクト代替名 (SAN)。 |
www.example.com,*.example.com |
| SignatureAlgorithm |
string |
証明書の署名アルゴリズム。 |
SHA256-RSA |
| PubkeyAlgorithm |
string |
証明書の公開鍵アルゴリズム。 |
RSA |
| CreateTime |
string |
作成時間。フォーマット: YYYY-MM-DD HH:MM:SS、協定世界時 (UTC)/GMT タイムゾーン。 |
2020-05-12 02:00:53 |
| UpdateTime |
string |
更新時間。フォーマット: YYYY-MM-DD HH:MM:SS、協定世界時 (UTC)/GMT タイムゾーン。 |
2024-03-05 18:24:04 |
| SerialNumber |
string |
証明書のシリアル番号。 |
babaded901474b9693acf530e0fb1d** |
| FingerprintSha256 |
string |
証明書の SHA-256 指紋。 |
1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a**** |
| Hostnames |
array |
関連ドメイン名のリスト。 |
|
|
string |
ドメイン名。 |
['www.example.com', 'mail.example.com'] |
|
| RequestId |
string |
リクエスト ID。 |
EEEBE525-F576-1196-8DAF-2D70CA3F4D2F |
例
成功レスポンス
JSONJSON
{
"SiteId": 0,
"SiteName": "example.com\n",
"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": "DigiCert",
"SAN": "www.example.com,*.example.com",
"SignatureAlgorithm": "SHA256-RSA",
"PubkeyAlgorithm": "RSA",
"CreateTime": "2020-05-12 02:00:53",
"UpdateTime": "2024-03-05 18:24:04",
"SerialNumber": "babaded901474b9693acf530e0fb1d**",
"FingerprintSha256": "1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****",
"Hostnames": [
"['www.example.com', 'mail.example.com']"
]
},
"RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 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. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 404 | Certificate.NotFound | The specified certificate does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。