This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- Code Insight
- :
- Code Insight Knowledge Base
- :
- WARN: Establishing SSL connection without server's identity verification is not recommended
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
WARN: Establishing SSL connection without server's identity verification is not recommended
WARN: Establishing SSL connection without server's identity verification is not recommended
Summary
This articles provides a resolution for the warning: Establishing SSL connection without server's identity verification is not recommended.Symptoms
WARN: Establishing SSL connection without server's identity verification is not recommended
Cause
MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requires SSL connections to be established by default if the option is not explicitly set.Resolution
?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.
To resolve this warning, follow these instructions:
-
Modify the following core database configuration file:
$palamida/config/core/core.db.properties
-
Edit the db.url= line to append "&useSSL=false" as shown below without any spaces.
db.url=jdbc:mysql://localhost:3306/palamida_6_10?autoReconnect=true&useSSL=false
Restart the server and error should go away.
If the installation of the database server is over SSL, then this setting needs to be changed to true.
No ratings