SSL-VPN用証明書の削除(V1サービス)
SSL-VPN用証明書を削除する手順を解説します。
削除は、基本的に作成した手順の逆順で、削除を実行します。
警告: 削除する際は、CA証明書・サーバ証明書用秘密鍵・サーバ証明書・DH鍵で削除したい証明書を個別に削除する必要があります。
-
以下の設定を行います。
$ TMP_CRTKEY_NAME=<DH鍵ID>
-
次のAPIを実行します。
$ curl -X DELETE -sS -i https://keymanagement.cloud.global.fujitsu.com/v1/$PROJECT_ID/secrets/$TMP_CRTKEY_NAME -H "X-Auth-Token: $OS_AUTH_TOKEN"
HTTP/1.1 204 No Content Server: Apache Date: Www, DD MMM yyyy hh:mm:ss GMT x-compute-request-id: req-<ID> Cache-Control: no-cache X-Request-Id: <ID> X-Runtime: <runtime> Keep-Alive: timeout=5, max=100 Content-Type: text/html; charset=UTF-8 Content-Length: 0
-
以下の設定を行います。
$ TMP_CRTKEY_NAME=<サーバ証明書用秘密鍵ID>
-
次のAPIを実行します。
$ curl -X DELETE -sS -i https://keymanagement.cloud.global.fujitsu.com/v1/$PROJECT_ID/secrets/$TMP_CRTKEY_NAME -H "X-Auth-Token: $OS_AUTH_TOKEN"
HTTP/1.1 204 No Content Server: Apache Date: Www, DD MMM yyyy hh:mm:ss GMT x-compute-request-id: req-<ID> Cache-Control: no-cache X-Request-Id: <ID> X-Runtime: <runtime> Keep-Alive: timeout=5, max=100 Content-Type: text/html; charset=UTF-8 Content-Length: 0
-
以下の設定を行います。
$ TMP_CRTKEY_NAME=<サーバ証明書ID>
-
次のAPIを実行します。
$ curl -X DELETE -sS -i https://keymanagement.cloud.global.fujitsu.com/v1/$PROJECT_ID/secrets/$TMP_CRTKEY_NAME -H "X-Auth-Token: $OS_AUTH_TOKEN"
HTTP/1.1 204 No Content Server: Apache Date: Www, DD MMM yyyy hh:mm:ss GMT x-compute-request-id: req-<ID> Cache-Control: no-cache X-Request-Id: <ID> X-Runtime: <runtime> Keep-Alive: timeout=5, max=100 Content-Type: text/html; charset=UTF-8 Content-Length: 0
-
以下の設定を行います。
$ TMP_CRTKEY_NAME=<CA証明書ID>
-
次のAPIを実行します。
$ curl -X DELETE -sS -i https://keymanagement.cloud.global.fujitsu.com/v1/$PROJECT_ID/secrets/$TMP_CRTKEY_NAME -H "X-Auth-Token: $OS_AUTH_TOKEN"
HTTP/1.1 204 No Content Server: Apache Date: Www, DD MMM yyyy hh:mm:ss GMT x-compute-request-id: req-<ID> Cache-Control: no-cache X-Request-Id: <ID> X-Runtime: <runtime> Keep-Alive: timeout=5, max=100 Content-Type: text/html; charset=UTF-8 Content-Length: 0