Skip to content

Instantly share code, notes, and snippets.

@mariow
Last active January 11, 2016 14:10
Show Gist options
  • Save mariow/8844859 to your computer and use it in GitHub Desktop.
Save mariow/8844859 to your computer and use it in GitHub Desktop.
Setting up Thawte SSL123 on Amazon ELB
# Generate CSR
openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
# convert key to rsa
openssl rsa -in my.key -out my.rsa
# fetch secondary CA cert (https://forums.aws.amazon.com/thread.jspa?messageID=278399# )
wget https://search.thawte.com/library/VERISIGN/ALL_OTHER/thawte%20ca/SSL123_SecondaryCA.pem
# upload to Amazon
iam-servercertupload -b my.crt -s mykeyname -k my.rsa -c SSL123_SecondaryCA.pem
# or
aws --profile yourprofile iam upload-server-certificate --server-certificate-name mykeyname --certificate-body file://my.crt --private-key file://my.rsa --certificate-chain file://bundle.crt
@mariow
Copy link
Author

mariow commented Nov 12, 2014

With newer certificates it may be necessary to download a different intermediary cert: https://search.thawte.com/support/ssl-digital-certificates/index?page=content&id=AR1384&actp=RELATED_RESOURCE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment