Hi Ansible folks,

I am looking for a way to force ansible.builtin.uri to use minimum TLS 
version, namely TLSv1, so that Ansible can access a few legacy boxes that I 
still have to manage.

Even though the underlying urllib.requests module can set the minimum 
version for an SSL context, I could not find any related options in the 
documentation or the source code for ansible.builtin.uri. Is there a chance 
I missed it somewhere?

Currently, I call external 'curl' utility to talk to those legacy devices, 
but it would be great to have it natively supported by the core Ansible 
module.

I am running Ansible core version 2.17.2, and in the packet dump I see that 
ansible.builin.uri requests TLS version 1.2 or 1.3. Consequently, the 
legacy TLS 1.0 device immediately closes the connection with the "Handshake 
Failure" error.

Thank you.

Regards,
Garri 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b8a9b548-714f-460e-a98d-c895ff2fef80n%40googlegroups.com.

Reply via email to