MySQL with TLS

Brandon Etheredge July 28, 2020

Has anyone had luck setting up MySQL using an external server and using a SSL connection?

We are using an RDS instance running MySQL 5.7.30 but when setting up Bamboo on the database step get the error:

Tue Jul 28 12:36:25 UTC 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

 

 

When we useSSL=false, we get an error in the interface but no error messages in the catalina log

1 answer

0 votes
Varma Gadiraju October 30, 2020

Hey Brandon,

 

You need to add "useSSL=false&" this parameters in the dbconfig file.

Example: <url>jdbc:mysql://localhost:3003/jiradatabase?useUnicode=true&amp;"---ADD HERE---"characterEncoding=UTF8&amp;sessionVariables=default_storage_engine=InnoDB</url>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events