解決 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
相關文章
- javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 解決方案JavaExceptionAI
- 終極解決方案:java.security.cert.CertificateException: Certificates does not conform to algorithm constraintsJavaExceptionORMGoAI
- 解決
- ios不支援fixed解決解決方案iOS
- 解決「問題」,不要解決問題
- 域名被牆怎麼解決,域名被牆怎麼解決,解決方案
- 等待解決
- 解決方案| anyRTC金融音視訊解決方案
- 【故障解決】OGG-00446 錯誤解決
- minikube配置代理:解決方案以及解決思路
- 高併發解決方案詳解(9大常見解決方案)
- dns劫持怎麼解決 dns劫持的解決方法DNS
- 【故障解決】ORA-06502錯誤解決
- NFS故障解決NFS
- 解決問題
- LAMP解決方案LAMP
- 急盼解決
- 企業WiFi解決方案,解決所有後顧之憂WiFi
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- lombok 註解無效 已解決Lombok
- 解決 eclipse cdt 執行時控制檯亂碼解決Eclipse
- Git 解決衝突Git
- MySQL 死鎖解決MySql
- 前端整合解決方案前端
- 常見BUG解決
- 高可用解決方案
- 解決 ajax 跨域跨域
- UnexpectedRollbackException解決方案Exception
- TabError的解決方法Error
- EXE病毒解決方法
- mybatis報錯解決MyBatis
- numberformatexception怎麼解決ORMException
- pdb受限解決思路
- Feast on Amazon 解決方案AST
- 解決java connectionJava
- git 解決衝突Git
- 解決迴圈引用
- yum問題解決