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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Mark Bereznitsky likes this

Suggest an answer

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 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