为 Amazon 添加副本 DocumentDB
已知问题
MongoDB 和 DocumentDB TLS 安全协议
如果 MongoDB 或 DocumentDB Replicat 失败,但在 Replicat Report 文件中出现以下错误:
Error: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
解决方法:将以下属性添加到复制属性文件,使用连接 OCID 更新 <connection_ocid>
并保留其余属性不变。
jvm.bootoptions=-Djavax.net.ssl.trustStore=/u02/connections/<connection_ocid>/truststore.pkcs12 -Djavax.net.ssl.trustStorePassword=Welcome123