java - 无法使用 Java 中的 RDS 连接到 MySQL/Aurora:路径未与任何信任锚链接
问题描述
我正在尝试建立与我的 MySQL/Aurora RDS 实例的连接。当我尝试使用本指南从终端连接时,一切都很好:https ://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ConnectToInstance.html
但是,当我尝试使用我的 spring 应用程序连接 ssl 时,我在 jdbc 连接 url 中传递了 trustCertificateKeyStoreUrl。
我得到 java.security.cert.CertPathValidatorException: Path does not chain with any trust anchors
我正在寻找指南,我尝试使用 KeyStore Explorer 并从全局包中导入每个证书,仍然没有结果。你能帮我么?
解决方案
推荐阅读
- python-3.x - 在 deeplab 中运行测试文本“local_test.sh”时出现问题。但 modle_test.py 工作正常
- r - r中的ggplot中的双y轴(条形和线形)
- c# - 事件选项卡未显示在诊断工具 VS 2017 中
- python-2.7 - 为什么 2.0 不能满足要求?
- flutter - 如何更改颤动应用程序键盘颜色?
- xcode11 - Swift Package Manager 与哪些 iOS 版本兼容?
- jquery - 如何为特定组件加载 slick-carousel 文件
- javascript - 如何在javascript中控制图像
- mergesort - 在 python 中实现合并排序时得到了错误的答案
- python - AttributeError:模块“张量板”没有属性“懒惰”