skip to Main Content

Mongodb – Configure Mongo with TLS

I'm working on configuring my Mongo 4.2 with TLS using minikube. These are my arguments: --auth --tlsMode requireTLS --tlsCertificateKeyFile /etc/ssl/mongodb-test-ca.crt --tlsCAFile /etc/ssl/test-ca.pem --oplogSize 32 --quiet --replSet myreplicaset --logpath /dev/stdout I'm getting this error: cannot read certificate file: /etc/ssl/mongodb-test-ca.key error:0909006C:PEM routines:get_name:no…

VIEW QUESTION

Mongodb – Mongo db query optimization

I am using mongo db to store notifications, a cron job runs every midnight to pick old notification and delete them. The deletion policy has a logic to retain the oldest notification of each combination of "sourceObjectIdentifier" and "notificationType". The…

VIEW QUESTION

Mongodb – Error creating bean with name 'mongoDatabaseFactory'

Error creating bean with name 'mongoDatabaseFactory' defined in class path resource [path]: Failed to instantiate [path]: Factory method 'mongoDatabaseFactory' threw exception with message: Database name must not be empty. MoviesApplication.java package dev.jeevan.movies; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MoviesApplication…

VIEW QUESTION
Back To Top
Search