新增 Amazon 的 Replicat DocumentDB
MongoDB、DocumentDB 和 Oracle JSON 集合 TLS 安全協定
MongoDB Replicat、DocumentDB Replicat 或 Oracle JSON 集合連線失敗,報表檔案發生下列錯誤:
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