Skip to content

Instantly share code, notes, and snippets.

@weavenet
Created July 5, 2012 20:11
Show Gist options
  • Save weavenet/3056161 to your computer and use it in GitHub Desktop.
Save weavenet/3056161 to your computer and use it in GitHub Desktop.
Create an X.509 Signing Cert for AWS IAM User
# Generate the csr / key
openssl genrsa -des3 -out server.key 1024
# Generate the CSR
openssl req -new -key server.key -out server.csr
# Remove the password from the key
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
# Create a Self Signed Cert
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment