问答详情
源自:1-11 通过Hibernate API编写访问数据库的代码

单元测试时的错误 SSL是什么 怎么和它有关系

详细的错误内容:

Wed May 10 16:39:13 CST 2017 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.

http://img.mukewang.com/5912d2df000139a107980344.jpg

提问者:追梦21 2017-05-10 16:45

个回答

  • qq_浅唱吶回忆_0
    2017-05-11 11:44:14
    已采纳

    SSL(Secure Sockets Layer)为Netscape所研发,用以保障在Internet上数据传输的安全,利用数据加密(Encryption)的技术,可确保数据在网络上的传输过程中不会被截取及窃听。SSL协议位于TCP/IP协议与各种应用层协议之间,为数据通讯提供安全支持。