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>\ 

Comment on this article?

New! Get the book!

Get Ruby flavored QuickBooks related articles delivered to your Mailbox.

Your email is safe with me and you can unsubscribe at any time.


Do you have an idea for a QuickBooks integrated app? Wanna put it on the Intuit App Store, which receives hundreds of thousands of daily visitors? I can get your idea on the App store for a fixed price that I will stand behind and not go over budget by a single penny.