Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence won't start after Upgrade to 8.7.1

Andreas Hirtzel December 11, 2023

I upgraded Confluence because of CVE message to 8.7.1 and it won't start anymore. I migrated the settings from 8.5.3 to 8.7.1 as all the time before. But now the connection to the database is not possible. Got the message:

Unable to open database connection during bootstrap.
com.microsoft.sqlserver.jdbc.SQLServerException: "encrypt" property is set to "true" and "trustServerCertificate" property is set to "false" but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:5d708cc1-3ca6-43e9-953f-f42f82d3ae1b

Didn't found any change announce for sql server connections. Can you help please?

3 answers

1 accepted

1 vote
Answer accepted
Andreas Hirtzel December 11, 2023

So, the problem was in front of the desk or maybe the designer for the download page. I tried to upgrade a server instance with a data center package. So this won't work. But I didn't see clear enough the "DATA CENTER ONLY" hint at the download page. I reinstalled the LTS version 8.5.4 and it works fine.

1 vote
Metin Savignano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2023

This sounds like you are using a custom CA or a self-signed certificate and you need to import the root certificate into the truststore of the Java VM which runs Confluence. Either that or set the trustServerCertificate to false, which is not recommended as it effectively removes connection security.

I don't think the default has been changed between 8.5 and 8.7, but I might be wrong. Could it be that you forgot that you imported the root certificate last time?

Andreas Hirtzel December 11, 2023

That's the mystic thing. The error message is clear but I didn't use encrypted connections before and it works well. 

0 votes
Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 11, 2023

I did a quick search and did not see any announcements on SQL connection tweaks between those two versions either.

It does look like there may have been some settings added between the two versions, when you migrated the settings, did you save the original 8.7.1?  If so (or not, grab a new 8.7.1) and compare the differences.

There are troubleshooting procedures toward the bottom of the following link when you get the can't connect error on start-up.

https://confluence.atlassian.com/conf86/advanced-encryption-1295819300.html

If there is anything useful in this log? <home-directory>/logs/atlassian-confluence.log

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events