# Upload SSL Certificate to AWS (for aws\_elb\_lb module to use)

**URL:** <https://forum.ansible.com/t/upload-ssl-certificate-to-aws-for-aws-elb-lb-module-to-use/16301>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [September 22, 2014, 9:05pm UTC](https://forum.ansible.com/t/upload-ssl-certificate-to-aws-for-aws-elb-lb-module-to-use/16301 "2014-09-22T21:05:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sankalp\_Khare](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Post date:** [September 22, 2014, 9:05pm UTC](https://forum.ansible.com/t/upload-ssl-certificate-to-aws-for-aws-elb-lb-module-to-use/16301/1 "2014-09-22T21:05:34Z")

</div>

Hi,

Does ansible support uploading of .crt, .key (and optionally .chain) files into AWS? I would like to complete the whole cycle, i.e. upload a cert, and then refer to it in [aws\_elb\_lb](http://docs.ansible.com/ec2_elb_lb_module.html) listeners.

Thanks,  
Sankalp

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [September 23, 2014, 1:44am UTC](https://forum.ansible.com/t/upload-ssl-certificate-to-aws-for-aws-elb-lb-module-to-use/16301/2 "2014-09-23T01:44:47Z")

</div>

Hi Sankalp,

The certificate needs to be loaded into AWS IAM first - the ec2\_elb\_lb module does not do this. To reference the cert from ec2\_elb\_lb, the certificate ID is referenced in the list of listeners (see the first example here: [http://docs.ansible.com/ec2\_elb\_lb\_module.html](http://docs.ansible.com/ec2_elb_lb_module.html)).

Thanks!
