1 Answer
- Newest
- Most votes
- Most comments
1
Thank you for the detailed description.
For ALB, you have to use elbv2
API. As described in [1], use the modify-listener
[2] command to replace the default certificate, for example:
aws elbv2 modify-listener \
--listener-arn arn:aws:elasticloadbalancing:us-west-1:8443XXXXXXX:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65 \
--certificates CertificateArn=arn:aws:acm:us-west-1:8443XXXXXXX:certificate/xxxxx-ab3b-4036-b65e-f6cee35735a8 \
--region us-west-1
[2] https://docs.aws.amazon.com/cli/latest/reference/elbv2/modify-listener.html
answered 2 years ago
Relevant content
- asked 6 years ago
- asked a year ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
Thanks for your answer, weidi. I was able to update the listener using the command you shared :)