Hello,
In MongoDB 4.2.14, mongodump is not able to decrypt the private key of a PEM file despite the fact that --sslPEMKeyPassword is provided with the correct password.
It displays below error:
2021-05-25T07:25:50.601+0000 Failed: can’t create session: error configuring the connector: error configuring client, can’t load client certificate: tls: failed to parse private key
This seems same issue as reported in Jira issue TOOLS-2755
https://jira.mongodb.org/browse/TOOLS-2755?jql=project%20%3D%20TOOLS%20AND%20component%20%3D%20mongodump%20AND%20text%20~%20"\"failed%20to%20parse%20private%20key\""
So I updated this Jira issue, providing certificates and mongod.conf permitting to easily reproduce it.
Does anybody faced same issue and found a correct workaround ?
Regards