Last active
January 11, 2016 14:10
-
-
Save mariow/8844859 to your computer and use it in GitHub Desktop.
Setting up Thawte SSL123 on Amazon ELB
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
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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