Last active
August 29, 2015 14:23
-
-
Save suz-lab/768326015b9fca8e8bc6 to your computer and use it in GitHub Desktop.
自己証明書を作ってAWS(IAM)にアップロードするコマンド
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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