# URI module - specifying SSL Protocol

**URL:** <https://forum.ansible.com/t/uri-module-specifying-ssl-protocol/19412>\
**Category:** Ansible Project\
**Created:** [October 1, 2015, 9:59pm UTC](https://forum.ansible.com/t/uri-module-specifying-ssl-protocol/19412 "2015-10-01T21:59:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_R](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@Abhishek\_R](https://forum.ansible.com/u/Abhishek_R)\
**Post date:** [October 1, 2015, 9:59pm UTC](https://forum.ansible.com/t/uri-module-specifying-ssl-protocol/19412/1 "2015-10-01T21:59:19Z")

</div>

Hi,

I’m trying an HTTP post with the following task -

---

<div class="post-metadata">

**Author:** ![Toshio\_Kuratomi](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Post date:** [October 2, 2015, 6:24am UTC](https://forum.ansible.com/t/uri-module-specifying-ssl-protocol/19412/2 "2015-10-02T06:24:03Z")

</div>

What version of ansible are you running and what version of python?  
Do you have any idea what versions of SSL your system's OpenSSL  
library supports? Python versions before 2.7.9 do not give the  
ability to specify SSL protocols above tls1.0 explicitly. Since  
ansible has to run with older versions than that, we don't have a way  
of abstracting out the SSL version that you can connect with to  
calling code. However, with the current version of ansible, ansible  
should be configuring python's SSL handling such that it selects newer  
versions of the SSL protocol automatically provided that the version  
of openssl that your python is using supports those protocols.

Note that these questions all concern whichever host this task is  
being run on (in most cases, that's the remote host that you're  
managing).

-Toshio
