Skip to content

Testing Compliance with TLS 1.0 Deprecation

Steven Leiva edited this page Jun 5, 2018 · 2 revisions

Box is planning to deprecate TLS 1.0.

As that page makes clear, you can use a new endpoint to test that the way you connect to the Box API will continue to work after TLS 1.0 is deprecated.

In order to make a request to that endpoint, you need to:

  1. Create an authenticated instance of Boxr::Client.
  2. Call the private get method on the client, using the test endpoint.

For example, after logging in to your production system:

folder_id = "123" #make sure this is an existing folder ID on your system

test_uri = "https://api-test.box.com/2.0/folders/#{folder_id}"

client = Boxr::Client.new(my_user_token) # get the however you normally do that

client.send(:get, test_uri)

If your response is successful, then your system is ready for the deprecation of TLS 1.0.

If the response is not successful, it is not a problem with Boxr, as the gem does not determine which version of TSL/SSL to use.

Clone this wiki locally