java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
Posted 健身小白
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors相关的知识,希望对你有一定的参考价值。
java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
出现这个错误是因为URL中出现了useSSL=true,只需要改成false即可。
jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=true
以上是关于java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors的主要内容,如果未能解决你的问题,请参考以下文章