Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to connect to external SQL Server 2017 database with TLS 1.2

We upgraded our database server to Windows Server 2019 running SQL Server 2017 and hardened everything following PCI standards, limiting connections to TLS 1.2. This has meant tweaking connection strings to use newer drivers for everything connecting to it, but I can't get our local Bamboo server to connect. I get error:

"bamboo java.sql.SQLexception I/O Error: db server closed connection"

I assume I need to update our dated Bamboo version or use a different driver, but I'm flailing a bit and any help would be much appreciated. Here's my current bamboo configuration (without db server/name):

  • Driver name: jTDS Type 4 JDBC Driver for MS SQL Server and Sybase
  • Driver class name: net.sourceforge.jtds.jdbc.Driver
  • Driver version: 1.2.2
  • Database URL: jdbc:jtds:sqlserver://<database_server>:1433/<database_name>
  • Hibernate dialect: net.sf.hibernate.dialect.SQLServerIntlDialect

Probably relevant:

  • Java version: 1.7.0_25
  • Bamboo version: 5.5.1

Is this as simple as updating my Bamboo version? Thanks for any help!

1 answer


Could you try the recommendations from links given below and check it (although they are not for Bamboo - but should work),

Buggy driver and proper connection strings,

Load SQL certs into JAVA keystore,



I tried both suggestions, but am still getting the same error. 

The database server does indeed enforce SSL (required for PCI compliance) so your second link seemed to be on the right track. I followed the instructions at and imported the certificate into the trust store at $JAVA_HOME/jre/lib/security/cacerts ($JAVA_HOME/lib/security/cacerts does not exist). However, this didn't change the error.

I tried various combinations of enabling SSL in the connection string and changing the JAVA_OPTS environment variable as described in your first link as well.

I read that SQL Server 2017 wasn't supported on earlier versions of Bamboo. Is this true regardless of configuration changes?


I didn't find the supported platform for Bamboo 5.5.1 but I did it for 5.13.x

As per the above, it seems SQL server 2017 was not supported for 5.13 and I assume it's same case for 5.5.1 as well



It seems I should just go ahead and update our Bamboo server to the newer version and hopefully it will resolve the connection problems. 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events