Forum Discussion

Arshia's avatar
Arshia
Level 1
6 months ago

Not able to use Equinix API, giving error - error:0A000438:SSL routines::tlsv1 alert internal error

when I am trying below command from my server

curl -v https://api.equinix.com

its giving below error

error:0A000438:SSL routines::tlsv1 alert internal error

It was working fine earlier. I am using below APIs for validating Azure Key

https://api.equinix.com/fabric/v4/connections/validate

But now even authentication API is also not working

  • vaibhav's avatar
    vaibhav
    Equinix Employee

    This issue mostly seems like on the client side with curl or SSL versions or with respect to CA certificates on the system.

    Possible causes and resolutions:

    1. check Curl Version, if outdated update it

    curl --version

    2. check OpenSSL version, if outdated update it

    openssl version

    3. debug with OpenSSL to see more detailed SSL/TLS negotiation output

    openssl s_client -connect api.equinix.com:443

    4. Update CA certificates - ensure your system's CA certificates are up to date

    sudo apt-get update
    sudo apt-get install --reinstall ca-certificates

    Also, curl/ssl verbose logs will give more insight.

     

  • ChrisR's avatar
    ChrisR
    Equinix Employee

    Hi Arshia! Thanks for the question. I'll track down the right person to answer this and get back to you as soon as possible.