티스토리 뷰

Fri Jul 06 06:10:05 KST 2018 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.





* 해결

jdbc:mysql://localhost:3306/Peoples?autoReconnect=true&useSSL=false



&useSSL=false 를 추가


https://stackoverflow.com/questions/34189756/warning-about-ssl-connection-when-connecting-to-mysql-database




* 참고 : database url 에 프로퍼티 추가해도 안 돌아 갔던 문제 (& 문제)


http://dogcowking.tistory.com/242





* 참고 2 : root-config.xml에 다음을 추가 했으나 효과 없었음.

<prop key="hibernate.connection.autoReconnection">true</prop>

<prop key="hibernate.connection.verifyServerCertificate">false</prop>

<prop key="hibernate.connection.useSSL">false</prop>



공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함