解決 javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,234 milliseconds ago. The last packet sent successfully to the server was 1,224 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_161]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_161]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_161]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_161]
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
原因:
jdbc:mysql://123.57.17.164:3306/layui?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&useSSL=true
去除&useSSL
jdbc:mysql://123.57.17.164:3306/layui?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
相關文章
- 解決
- 域名被牆怎麼解決,域名被牆怎麼解決,解決方案
- minikube配置代理:解決方案以及解決思路
- 等待解決
- 解決方案| anyRTC金融音視訊解決方案
- 高併發解決方案詳解(9大常見解決方案)
- dns劫持怎麼解決 dns劫持的解決方法DNS
- UnexpectedRollbackException解決方案Exception
- 企業WiFi解決方案,解決所有後顧之憂WiFi
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- lombok 註解無效 已解決Lombok
- 常見BUG解決
- EXE病毒解決方法
- MySQL 死鎖解決MySql
- 高可用解決方案
- 解決 ajax 跨域跨域
- git 解決衝突Git
- 解決迴圈引用
- 解決tomcat埠占用Tomcat
- Redis bigkey解決方案Redis
- Django解決跨域Django跨域
- No Task Available解決方法AI
- 解決pycharm警告InsecureRequestWarning:PyCharm
- Git 解決衝突Git
- Confluence亂碼解決
- 前端整合解決方案前端
- TabError的解決方法Error
- Ocelot錯誤解決
- MySQL解決死鎖MySql
- 解決Python使用GPUPythonGPU
- 解決:Failed to load ApplicationContextAIAPPContext
- pdb受限解決思路
- Feast on Amazon 解決方案AST
- mybatis報錯解決MyBatis
- 解決eslint報錯EsLint
- numberformatexception怎麼解決ORMException
- 機械行業解決方案高效解決企業管理難題行業
- 智慧停車場解決方案,反向尋車系統解決方案