It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

MS SQL database TLSv1 error.

Can't reach database server or port

I keep getting the following error.  

SQLState - 08S01
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Server chose TLSv1, but that protocol version is not enabled or not supported by the client.". ClientConnectionId:adaa0274-9e6c-48a4-97bd-4e0652dc80bd

 

I can telnet into the server.  Also, I tried to add the JDBC 7.0 driver.

https://community.atlassian.com/t5/Confluence-questions/Confluence-6-10-1-Server-Install-Error-connecting-to-MSSQL-DB/qaq-p/863461

It is a new install upgraded to 7.10.  

1 answer

1 accepted

0 votes
Answer accepted

Hello @stephen_ralston ,
With 7.1.0, we added system properties that restrict the HTTP clients to use TLSv1.1 and TLSv1.2 only as TLSv1 is getting phased out and is considered insecure.

If you still want to enable it, use this guide to edit the JVM arguments:

https://confluence.atlassian.com/adminjiraserver/setting-properties-and-options-on-startup-938847831.html

 

Find the one that says:

 

-Djdk.tls.server.protocols=TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1.1,TLSv1.2

 

and prepend "TLSv1" to both lists (with a comma as well). Restart Confluence and it should word. But again, consider migrating to a newer version that is more secure. 

Like MarkB likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you