Jira SSL Database Connection Configuration Changed in 8.5


Today I upgraded a non-prod Jira environment from 7.13.x to the latest LTS version 8.5.8. And unfortunately Jira failed to start after the upgrade. It turns out that the SSL configuration for database connection has changed in 8.5. So Jira could not connect to database with the old configuration.

  • For JIRA 7.13 / postgreSQL driver below version 42.2.5, the configuration is ssl=true
    For example: jdbc:postgresql://DB-Server:5432/jiradb?ssl=true
  • For JIRA 8.5 / postgreSQL driver above version 42.2.5, the configuration is sslmode=require
    For example: jdbc:postgresql://DB-Server:5432/jiradb?sslmode=require

Reference: https://confluence.atlassian.com/jirakb/unable-to-connect-to-database-with-ssl-enabled-during-jira-setup-951412236.html

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s