Uploading DNSiple SSL Certs to AWS Cloudfront
We purchased a comodo wildcard certificate from DNSimple and kept getting:
Amazon Web Services – A client error (MalformedCertificate) occurred when calling the UploadServerCertificate operation: Unable to parse certificate. Please ensure the certificate is in PEM format
Don't forget to add the "file://" - its essential
aws iam upload-server-certificate \
--server-certificate-name callThisWhatEverYouLikeItDoesntMatter \
--path /cloudfront/ \
--certificate-body file://STAR_yourdomain_com.crt \
--private-key file://STAR_yourdomain_com.key \
--certificate-chain file://STAR_yourdomain_com_bundle.pem
Written by Matthew Deiters
Related protips
1 Response
Thanks man, you saved our lives with the Don't forget to add the "file://"
tip ;-)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#dnsimple
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#