Hi,

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

---
- name: try doing a POST
  uri:
    url: "destinationURL"
    method: POST
    user: myusername
    password: mypassword
    force_basic_auth: yes
    register: POSTResponse

- debug: var=POSTResponse

- I get an error runtime stating - msg: Socket error: EOF occurred in 
violation of protocol (_ssl.c:590) to "destinationURL"

The destination server supports SSL protocols of TLSv1.2 and above only and 
not SSLv3 or TLSv1 - and this might be the reason for this error. Question 
is, how do I specify the SSL Protocol for the POST as TLSv1.2? Any 
suggestions?

Thanks in advance.

Regards

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bc4058f7-4aeb-4298-8d6e-6eba1e44356d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to