SSL error(35) when trying to communicate with ZoHo using cURL

SSL error(35) when trying to communicate with ZoHo using cURL

I am trying to simply communicate from my server to ZoHo API, but I cannot successfully complete the SSL handshake in order to insert new records. If I run
  1. curl -v https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi&EMAIL_ID=[username]&PASSWORD=[Password]
Then I get the following output:

  1. [1] 29707
  2. [2] 29708
  3. [ravi@server ~]$ * About to connect() to accounts.zoho.com port 443 (#0)
  4. *   Trying 74.201.154.199... connected
  5. * Connected to accounts.zoho.com (74.201.154.199) port 443 (#0)
  6. * Initializing NSS with certpath: sql:/etc/pki/nssdb
  7. *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  8.   CApath: none
  9. * NSS error -12286
  10. * Error in TLS handshake, trying SSLv3...
  11. > GET /apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi HTTP/1.1
  12. > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
  13. > Host: accounts.zoho.com
  14. > Accept: */*
  15. * Connection died, retrying a fresh connect
  16. * Closing connection #0
  17. * Issue another request to this URL: 'https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi'
  18. * About to connect() to accounts.zoho.com port 443 (#0)
  19. *   Trying 74.201.154.199... connected
  20. * Connected to accounts.zoho.com (74.201.154.199) port 443 (#0)
  21. * TLS disabled due to previous handshake failure
  22. *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  23.   CApath: none
  24. * NSS error -12286
  25. * Closing connection #0
  26. * SSL connect error
  27. curl: (35) SSL connect error
If I specify the certificate as gd-bundle.crt, which it should be, same thing:

  1. ravi@server ~]$ curl -v --cacert /etc/pki/tls/certs/gd_bundle.crt https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi&EMAIL_ID=[Username]&PASSWORD=[password]
  2. [1] 29800
  3. [2] 29801
  4. [ravi@server ~]$ * About to connect() to accounts.zoho.com port 443 (#0)
  5. *   Trying 74.201.154.199... connected
  6. * Connected to accounts.zoho.com (74.201.154.199) port 443 (#0)
  7. * Initializing NSS with certpath: sql:/etc/pki/nssdb
  8. *   CAfile: /etc/pki/tls/certs/gd_bundle.crt
  9.   CApath: none
  10. * NSS error -12286
  11. * Error in TLS handshake, trying SSLv3...
  12. > GET /apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi HTTP/1.1
  13. > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
  14. > Host: accounts.zoho.com
  15. > Accept: */*
  16. * Connection died, retrying a fresh connect
  17. * Closing connection #0
  18. * Issue another request to this URL: 'https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi'
  19. * About to connect() to accounts.zoho.com port 443 (#0)
  20. *   Trying 74.201.154.199... connected
  21. * Connected to accounts.zoho.com (74.201.154.199) port 443 (#0)
  22. * TLS disabled due to previous handshake failure
  23. *   CAfile: /etc/pki/tls/certs/gd_bundle.crt
  24.   CApath: none
  25. * NSS error -12286
  26. * Closing connection #0
  27. * SSL connect error
  28. curl: (35) SSL connect error
I have an SSL through GoDaddy.

Thank you