From the error message you posted it seems there is a problem with theClient Certificate DN:
I am trying to migrate my Parse DB to AWS using MongoDB Cloud manager, I
have setup the instances by following the tutorial "
I did following steps :
1. I created Replica set
2. I set the mongoDB version to 3.0.9
3. I also set the failIndexKeyTooLong=false
4. I also created the user and database
But when I am trying to configure "Authentication & Users", I am getting
the following error :
"Failure dialing host after 255us. Skipping all `MongoDB Non-Blocking`
tasks. Distinguished Name (DN) of Subject from SSL client certificate could
not be determined. Consider setting the `sslClientCertificateSubject`
property as the subject line from the following command: openssl x509 -in
</path/to/cert> -subject -nameopt rfc2253 Err: Unsupported attribute type:
1.2.840.113522.214.171.124 at monitoring-agent/components/conf.go:117 at
monitoring-agent/components/bus.go:337 at src/runtime/asm_amd64.s:1696"
I have created the certificates at all the three instances by using the
following commands :
Step 1 : sudo openssl req -newkey rsa:2048 -new -x509 -days 365 -nodes
-out mongodb-cert.crt -keyout mongodb-cert.key
Step 2 : sudo cat mongodb-cert.key mongodb-cert.crt > mongodb.pem
Kindly help me out where did I made the mistake, and how to generate the
correct certificate so that It can be authenticated.
I am always getting "Network error" from Parse when I try to migrate it.