LoginSignup
0
0

More than 3 years have passed since last update.

IAMでサーバ証明書をインポートするCLI手順

Posted at

ACM(AWS Certificate Manager)ではなく、IAMでサーバ証明書をインポートするときのCLI手順のメモです。

サーバ証明書のインポート

PROFILE=default

aws --profile ${PROFILE} iam upload-server-certificate \
    --server-certificate-name hoge.com \
    --certificate-body file://hoge.com.crt \
    --private-key file://hoge.com.key 

インポートしたサーバ証明書の確認


aws --profile ${PROFILE} iam  list-server-certificates
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0