Go back to the main page

Test for QuickBooks API TLS 1.2 support


Intuit is requiring QBO API connections to be done over TLS 1.2 or greater starting on December 31st, 2017. In this article, I'll show you how to test the 2 main QuickBooks Ruby libraries, quickbooks-ruby and qbo_api.


# Rails console for app you want to test
# FOR QboApi gem.
# 1. instantiate a QboApi object
$ qbo_api_instance.connection(url: 'https://www.ssllabs.com/ssltest/viewMyClient.html').get
# FOR quickbooks-ruby gem
# 1. instantiate a quickbooks-ruby object
$ quickbooks_ruby_instance.service.send(:do_http_get, 'https://www.ssllabs.com/ssltest/viewMyClient.html')
# Search the HTML output using the search string 'protocol_tls1_2' and see if you get a "Yes*"
# e.g. successful fragement => \"protocol_tls1_2\">Yes*</td>\ 

Get the QuickBooks Online Integration book.

No clue how to get starting with a QuickBooks Desktop Integration? Sign up for the Master Class.

Sign up for the QuickBooks Integration Roadmapping Call!

Don't know where to start on a QuickBooks Integration. I'll get you on solid ground, fast!