Creating self-signed certificates for AWS(or Azure)

Ok you can use openssl to create a self-signed cert:

openssl genrsa 2048 > privatekey.pem
openssl req -new -key privatekey.pem -out csr.pem
openssl x509 -req -days 365 -in csr.pem -signkey privatekey.pem -out server.crt
Then you can upload it to AWS by:
aws iam upload-server-certificate –server-certificate-name {certname} –certificate-body file://server.crt –private-key file://privatekey.pem
Simple :).
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s