Mongodump command is failing with the error "x509: certificate signed by unknown authority"

Hello everyone,
while trying to take the mongodump, the command fails with “x509: certificate signed by unknown authority” error. But the same cert files are working fine while connecting to mongo shell.

Any idea why ?