Ask Your Question
4

What does the error 'MongoParseError: option ssl_ca_certs is not supported' mean when attempting to connect to AWS documentDB using mongoose?

asked 2023-05-25 19:48:48 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-25 20:12:02 +0000

devzero gravatar image

The error 'MongoParseError: option sslcacerts is not supported' means that the option 'sslcacerts' is not recognized by the MongoDB driver. This may occur if you are using an outdated version of the driver that does not support this option or if you have misspelled the option name.

When connecting to AWS DocumentDB using Mongoose, you may need to configure the SSL options using the 'sslValidate' and 'sslCA' options in the Mongoose connection string, instead of using the 'sslcacerts' option. Make sure that you are using the correct and up-to-date syntax for the Mongoose connection string.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-25 19:48:48 +0000

Seen: 7 times

Last updated: May 25 '23