Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save suz-lab/768326015b9fca8e8bc6 to your computer and use it in GitHub Desktop.
Save suz-lab/768326015b9fca8e8bc6 to your computer and use it in GitHub Desktop.
自己証明書を作ってAWS(IAM)にアップロードするコマンド
openssl req -new -nodes -x509 \
-subj '/C=JP/ST=Tokyo/L=Minato-ku/O=cloudpack/CN=test.xxx' \
-keyout test.key -out test.crt
aws iam upload-server-certificate \
--server-certificate-name test \
--certificate-body file://test.crt \
--private-key file://test.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment