Save SSL keys for AWS Cloudfront

Assuming you have AWS cli installed : aws iam upload-server-certificate –server-certificate-name www.site.tld-cf –certificate-body file://public.key –private-key file://private.key –certificate-chain file://bundle.pem –path /cloudfront/ nJoy 😉