Yes you are right.
The ssl certificate was pretty old and I ve no idea how to update it also.

So I skipped Ssl verification and it worked
get_url:
  dest: /tmp
  url: https://
  username: <>
  password: <>
*   validate_certs: no*

Thank you again both of you.

Regards
PD

On Wed, 10 Apr 2024 at 14:14, Prady A <[email protected]> wrote:

> Thank you I see. I ll check the script. Can we call the execute
> the get_url without ssl certificate ?
>
> This is ansible verbose report. Seems the SSL is too old.
>
> <server1234> Failed to connect to the host via ssh: OpenSSH_7.4p1, *OpenSSL
>> 1.0.2k-fips  26 Jan 2017*
>> debug1: Reading configuration data /etc/ssh/ssh_config
>> debug1: /etc/ssh/ssh_config line 11: Applying options for *
>> debug1: auto-mux: Trying existing master
>> debug2: fd 3 setting O_NONBLOCK
>> debug2: mux_client_hello_exchange: master version 4
>> debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
>> debug3: mux_client_request_session: entering
>> debug3: mux_client_request_alive: entering
>> debug3: mux_client_request_alive: done pid = 4632
>> debug3: mux_client_request_session: session request sent
>> debug1: mux_client_request_session: master session id: 2
>> debug3: mux_client_read_packet: read header failed: Broken pipe
>> debug2: Received exit status from master 1
>> Shared connection to server1234 closed.
>>
>
> Regards
>
> On Wed, Apr 10, 2024 at 5:08 PM Stefan Hornburg (Racke) <[email protected]>
> wrote:
>
>> On 10/04/2024 09:55, Prady A wrote:
>> > Thanks dick
>> >
>> > Yes by default those commands doesn’t comes oob.
>> >
>> > Tried with verbosity mode.
>> > Request failed:<urlopen error A failure in the SSL library occurred
>> (ssl.c:1125)>”
>>
>> It is possible that the SSL setup on the target is too old. You could
>> check that
>> with the "testssl" script from the controller (https://testssl.sh/).
>>
>> Regards
>>      Racke
>>
>> >
>> > On Wed, 10 Apr 2024 at 16:15, Dick Visser <[email protected] <mailto:
>> [email protected]>> wrote:
>> >
>> >     Too bad, that would have helped to indicate SSL issues on that
>> remote host.
>> >     Try running with more verbosity (-vvv) and see what that returns.
>> >
>> >     --
>> >     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] <mailto:
>> ansible-project%[email protected]>.
>> >     To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAF8BbLZmEaBXSvNPCJK7cAmxmm0uq%3DEwPq27omdkLiq8eL5beQ%40mail.gmail.com
>> <
>> https://groups.google.com/d/msgid/ansible-project/CAF8BbLZmEaBXSvNPCJK7cAmxmm0uq%3DEwPq27omdkLiq8eL5beQ%40mail.gmail.com
>> >.
>> >
>> > --
>> > 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] <mailto:
>> [email protected]>.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAEuB3ArncgH9yXxg_Gh_v8xqQ9NQcgNNV8xm_HABkN5kiBRRsA%40mail.gmail.com
>> <
>> https://groups.google.com/d/msgid/ansible-project/CAEuB3ArncgH9yXxg_Gh_v8xqQ9NQcgNNV8xm_HABkN5kiBRRsA%40mail.gmail.com?utm_medium=email&utm_source=footer
>> >.
>>
>> --
>> Automation expert - Ansible and friends
>> Linux administrator & Debian maintainer
>> Perl Dancer & conference hopper
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/1564c781-cba4-46f1-9228-9a4fac8ef2a7%40linuxia.de
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEuB3Aq08O_SeZzT71M0Aa%2BeKiGhMKC7nVc%2BkLoXimus3qgS0Q%40mail.gmail.com.

Reply via email to