'getting error while executing curl command

I am trying to make an api call to https server via curl and getting curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version error. The site/server to which I am trying to connect has self signed certificates.

This is the curl command that I am using enter image description here

This is the curl version enter image description here

Output of wget

enter image description here

I have tried adding -k or --insecure option to in the curl command but getting same error.

Am I missing something or is there any other way to make this happen?

More verbosely: enter image description here



Solution 1:[1]

As you are suspecting certificate shenanigans I suggest giving try --no-check-certificate option of GNU Wget that is please try following command

wget --no-check-certificate https://10.0.9.94

and write what was effect.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daweo