0 i am getting issue while getting mongodump . i have mongodb 4.4 having ssl/Tls enabled for server side as well as for client

0

i am getting issue while getting mongodump . i have mongodb 4.4 having ssl/Tls enabled for server side as well as for client.

but while taking dump getting the following Error:

2021-03-11T15:57:55.639+0530 Failed: can't create session: error configuring the connector: error configuring client, can't load client certificate: tls: private key type does not match public key type

although i am able to login with mongo shell.

mongo -u ms -p --authenticationDatabase "admin" --tls --tlsCAFile /etc/mongodb/ssl/ca-mongo.crt --tlsCertificateKeyFile /etc/mongodb/ssl/host1.pem --host host1

Hi @mukesh21,

I'm afraid your question about client certificates isn't related to the Let's Encrypt service, which is the topic of this forum.

Do you think you could try over at the MongoDB forum?

Good luck!

1 Like

That we know of :wink:

We've seen users trying to use Let's Encrypt certs for client authentication.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.