ELBにSSL証明書を登録する

証明書と秘密鍵の作成
$ openssl genrsa 2048 > private-key.pem
$ openssl req -new -key private-key.pem -out csr.pem
$ openssl req -x509 -days 3650 -in csr.pem -key private-key.pem  -out hostcert.pem

登録
$ iam-servercertupload -b hostcert.pem -k private-key.pem -s ${任意の登録名}

確認
$ iam-servercertgetattributes -s ${登録名}