DownloadSslCertificate
処理概要
指定したSSL証明書をダウンロードします。1回のリクエストで、SSL証明書のキー・CA・証明書のいずれかを取得できます。
SSL証明書を指定するためには、SSL証明書の発行識別子(fqdnId)が必要です。削除済みのSSL証明書を指定した、管理外のSSL証明書を指定したなど、無効なSSL証明書を指定した場合は、エラーが返されます。
またSSL証明書の発行状況により、指定したファイルがダウンロードできない場合があります。
指定するパラメーター
パラメーター | 説明 | 必須 | サンプル値 |
---|---|---|---|
FqdnId |
SSL証明書の識別子 Type : String |
○ | 111 |
FileType |
ダウンロードするファイル種別 Type : String 値 : 1 (キー) | 2 (CA) | 3 (証明書) |
○ | 1 |
応答フィールド
フィールド(項目) | 説明 | サンプル値 |
---|---|---|
DownloadSslCertificateResponse |
DownloadSslCertificate レスポンス Type : DownloadSslCertificateResponseType Ancestor : なし Children : requestId, fqdnId, fqdn, fileData |
|
requestId |
リクエスト識別子 Type : xsd:string Ancestor : DownloadSslCertificateResponse Children : なし |
ac501097-4c8d-475b-b06b-a90048ec181c |
fqdnId |
SSL証明書の識別子 Type : xsd:string Ancestor : DownloadSslCertificateResponse Children : なし |
111 |
fqdn |
FQDN Type : xsd:string Ancestor : DownloadSslCertificateResponse Children : なし |
aaa.aaa.aaa |
fileData |
ファイルデータ Type : xsd:string Ancestor : DownloadSslCertificateResponse Children : なし |
リクエストサンプル
https://computing.api.nifcloud.com/api/?Action=UploadSslCertificate&FqdnId=111&FileType=1
&CommonParams
応答サンプル
<DownloadSslCertificateResponse xmlns="https://computing.api.nifcloud.com/api/">
<requestId>ac501097-4c8d-475b-b06b-a90048ec181c</requestId>
<fqdnId>111</fqdnId>
<fqdn>aaa.aaa.aaa</fqdn>
<fileData>・・・・・・・・・</fileData>
</DownloadSslCertificateResponse>