All Collections
Developers
FAQs
Updating your API client libraries to be compatible with TLS 1.2 to securely use Indigo APIs
Updating your API client libraries to be compatible with TLS 1.2 to securely use Indigo APIs

Learn what you should do in order to safely use our APIs for your own integrations

Marie Claire Saliba avatar
Written by Marie Claire Saliba
Updated over a week ago

If you consume Indigo API for your own integrations, you will need to make sure that your client libraries are upgraded and to be sure that you have no code explicitly making connections to TLS 1.0 or 1.1

PHP

Be sure to configure your code so that it does not force TLS 1 or 1.1. We advise for you to check that your PHP and libcurl versions are updated and can support TLS 1.2.

.NET

Update your .NET library to its latest version; .NET library 3.5 does not support TLS 1.2.

If you have difficulties in upgrading to the latest version, you can set this security protocol preference to:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

Java

Java 1.8 has TLS 1.2 enabled by default. 

Java 1.7 has TLS 1.2 disabled by default. Using this version will require you to manually enable TLS 1.2 or to specify the protocol when creating SSLContext. To pass the to the protocol version that you want when creating your SSLContext, use:

SSLContext context = SSLContext.getInstance("TLSv1.2"); 

Visit this web page for additional help on enabling TLS 1.2 for Java.

Did this answer your question?