Home  >  Q&A  >  body text

OpenSSL SSL_connect: SSL_ERROR_SYSCALL A system call error occurred in the connection to domain.com:443.

<p>I used the curl command on the Ubuntu terminal and got the following response: curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to domain.com:443. I really can't understand why this happens. I tried displaying curl's error number but no number was returned. I'm accessing another server. Here are my commands: </p> <pre class="brush:php;toolbar:false;">./curl -i --tlsv1.2 -kv -H "Content-Type: application/xml" --verbose -X POST --data / var/www/html/xml.xml --cacert /root/curl_ssl/curl-7.54.1/src/cert_org.crt domain.com/otp</pre> <p>Is there any way</p>
P粉707235568P粉707235568420 days ago944

reply all(1)I'll reply

  • P粉955063662

    P粉9550636622023-07-28 10:51:08

    For websites using the old SSL protocol, this error may occur when using CURL on Linux. According to the SSL/TLS protocol specification, the cause may be that the client hello uses a support group option that is not supported by the peer. The solution is to use sslscan to probe and get the protocol version and cipher suites supported by the peer. You can find sslscan on Github.

    reply
    0
  • Cancelreply