SSL Error in connecting URL(curl) in C

$ sudo curl url
when i use this command in command prompt it throws following error
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to sagaraquaculture-001-site1.atempurl.com:443

Anyone have solution of this? i tried many ways but it didn’t worked.

  1. check the time and date are correct on your board
  2. look at adding either --cacert or --capath option when using curl (check curl man page)
  3. can try with --insecure to disable ssl checking

are you using a custom image ? check you have the required ssl libs