오류발생 
Wed Jan 05 12:07:23 KST 2022 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.
SSL(Secure Socket Layer) 서버 인증서 검증
http + s = https 의 s 를 의미한다. 보안 프로토콜을 통해 클라이언트(브라우저)와 서버(웹서버) 보안이 향상된 통신을 하는 것을 말한다.  http + key(SSL) key는 클라이언트와 서버만 알수 있다. 따라서 스니퍼(Sniifer)가 발생하지 않는다. SSL은 80번 포트를 사용하는 http 달리 443번 포트를 사용하는 TCP 기반의 프로토콜이다. TCP(3웨이핸드쉐이크->전송->종료) 
해결
SSL 관련 에러이다.  SSL (서버 인증서 검증) 을 끄자.
MySql이 5.5 버전부터 SSL 접속을 기본 세팅을 해놓았다. 따라서 SSL처리를 안 하면 위와 같은 에러 메시지를 보여준다. 
custsvc.url=jdbc:mysql://csdb.tmonc.net:3306/custsvc?useSSL=false&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useAffectedRows=true

 

'TMON > 개선작업' 카테고리의 다른 글

[CS] DB과부하 방지 Cache처리(캐싱처리)  (0) 2021.12.17

+ Recent posts