且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MySQL RDS和JDBC SSL连接出现错误:无法找到请求目标的有效证书路径

更新时间:2021-11-23 22:30:48

由于rds-combined-ca-bundle.pem包含一堆证书,如果我们拆分它们并为所有证书创建.pem文件并将它们分别导入到keystore,它将会起作用.

Since rds-combined-ca-bundle.pem contains a bunch of certificates, if we split them and create .pem files for all certificates and import them to keystore separately, it will work.

此问题是由于将整个rds证书捆绑包导入密钥库而引起的.

The problem is caused because of importing the entire rds certificate bundle to keystore.