##To encrypt data in transit, download the public key for Amazon DocumentDB named rds-combined-ca-bundle.pemimport pymongo
##Create a MongoDB client, open a connection to Amazon DocumentDB as a replica setssl=true&ssl_ca_certs=rds-combined-c
我试图连接我的RDS实例,我不希望SSL证书检查主机名。到目前为止,我知道making =verify不会检查主机名,但是不管出于什么原因,它都会这样做。在org.postgresql.ssl.MakeSSL.convert(MakeSSL.java:93) at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSLssl=true;sslmode=verify-ca;sslrootcert=/apollo/en