Cannot Connect to AWS Database using TLS with Server CA Validation

前端 未结 6 1735
余生分开走
余生分开走 2021-01-18 05:06

AWS documentation states that to connect to my DocumentDB Cluster, I need to use a query string that ends like so ?ssl_ca_certs=rds-combined-ca-bundle.pem&replicaS

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-18 05:46

    I had similar issue, had a ticket open with AWS and it was resolved with similar steps as Pulkit Agarwal's answer.

    Main change was connection string, even after adding the certificate to local store i was still using the querystring as "?ssl_ca_certs=rds-combined-ca-bundle.pem&replicaSet=rs0" which needs to be changed to "?ssl=true&sslVerifyCertificate=true&replicaSet=rs0"

提交回复
热议问题