Skip to content

Instantly share code, notes, and snippets.

@sanjayuttam
Created April 25, 2013 21:21
Show Gist options
  • Save sanjayuttam/5463272 to your computer and use it in GitHub Desktop.
Save sanjayuttam/5463272 to your computer and use it in GitHub Desktop.
Generate self-signed cert for use on amazon
--Generate self-signed cert for use on amazon
openssl genrsa -out server_privatekey.pem 1024
openssl req -new -key server_privatekey.pem -out server_certificate_csr.pem
openssl x509 -req -days 3650 -in server_certificate_csr.pem -signkey server_privatekey.pem -out server_certificate.pem
)
Certificate Name: mycert
Private key: <content of server_privatekey.pem >
Public key: <content of server_certificate.pem >
Certificate Chain: <content of server_certificate_csr.pem >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment