Upload/Update SSL Certificates to AWS Iam (to attach to ELB's)

?
R
Bash

http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-ssl-upload.html To update the ELB's, head up to EC2 Console, select and ELB, go to listeners tab and change the SSL Certificate for a specific port. https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1#LoadBalancers:

1# simple certificate
2aws iam upload-server-certificate --server-certificate-name code.recipes.nov17 \
3  --certificate-body file://code.crt --private-key file://code.key
4
5# with intermediate certificates
6aws iam upload-server-certificate --server-certificate-name code.recipes.nov17 \
7  --certificate-body file://code.crt \
8  --certificate-chain file://code-bundle.crt \
9  --private-key file://code.key \

Created on 11/21/2017