skip to Main Content

Mongodb – mongodump error: x509: cannot validate certificate for <server-IP> because it doesn't contain any IP SANs

I am trying to setup mongodump along with TLS/SSL encryption. I have been following various articles for this: Self-signed SSL connection using PyMongo, https://mydbops.wordpress.com/2020/05/02/securing-mongodb-cluster-with-tls-ssl/ and some more. So, I have generated the CA certificates. #Create CA Private Certificate openssl genrsa…

VIEW QUESTION

How to remove an element within a field in MongoDB

{ _id: "d473ad718f214f158b31d591a97a5ce7", name: 'sam', keys: { q8f3ff57b03940959e1ae4dfe2cb57ad: { serviceaccountkey: { keyID: 'q8f3ff57b03940959e1ae4dfe2cb57ad', status: 'ACTIVE', keytype: 2, } }, m887f7854adb4907b57903b896bcf6d6: { serviceaccountkey: { keyID: 'm887f7854adb4907b57903b896bcf6d6', status: 'ACTIVE', keytype: 2, } } } } } Suppose this is a document. How…

VIEW QUESTION
Back To Top
Search