The certificate that needs to be used for X.509 authentication on ldaptest isn't very well liked by Secure Channel and therefore needs to be regenerated:
$ ./Debug/mongoc-ping.exe 'mongodb://CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US@ldaptest.10gen.cc/?ssl=true&authMechanism=MONGODB-X509&sslClientCertificateKeyFile=tests/x509gen/legacy-x509.pem&sslCertificateAuthorityFile=tests/x509gen/legacy-ca.crt&sslAllowInvalidHostname=true' 2017/01/30 21:55:14.0990: [ 976]: DEBUG: cluster: Authentication failed: auth failed 2017/01/30 21:55:14.0984: [ 976]: ERROR: stream-secure-channel: Failed to parse private key. ASN1 bad tag value met. (0x8009310B) 2017/01/30 21:55:14.0987: [ 976]: WARNING: stream-secure-channel: a client certificate has been requested Ping failure: auth failed
- is related to
-
CDRIVER-2480 (SSL)windows secure Channel doesn't allow pemkeyfile has password
- Closed
-
CDRIVER-857 C - Test the support of MONGODB-X509 authentication mechanism
- Closed
- related to
-
CDRIVER-2940 Regenerate test certificates with SHA256 signatures
- Closed