-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Tools
-
None
-
Environment:Pre-Production
-
ALL
-
I am facing error while trying to take mongodump using the above syntax, can you please help.
Note: I am using OS(windows2019) MongoDB v5.0.2.
set GODEBUG=x509ignoreCN=0 && mongodump --host xxxxxxx:27017 -d xxxxxx --ssl --sslCAFile "xxxxxxxxxx\CA.crt" --sslPEMKeyFile "xxxxxxxxxxxx\client.pem" --archive="xxxxxxx_bkp" & set GODEBUG=
2022-01-11T04:10:57.016+0000 Failed: error creating intents to dump: error getting collections for database `xxxxxxxx`: (Unauthorized) command listCollections requires authentication
Please let me know if I am missing anything here.