Security

What are the configuration settings when Hunk is connected with MongoDB having SSL certification (.pem file)?

raje455
New Member

Hi,
Can you please share the configuration settings when hunk is connected with the mongoDB having ssl .pem attachment file and authentication

Configuration settings for Authentication :

vix.mongodb.auth.mechanism = CR
vix.mongodb.auth.username = [username]
vix.mongodb.auth.password = [password as plain text]

is there any parameter.configuration setting for to attach the .pem file

Tags (3)
0 Karma

shivamgoyal23
New Member

can someone answer this

0 Karma

Anam
Community Manager
Community Manager

Hi @shivamgoyal23

This question was posted in 2015, almost 3 years ago. If the comments weren't able to answer your question please post a new question so you can get maximum exposure and help on your problem.

Thanks

0 Karma

shivamgoyal23
New Member

Thanks I will do that @asiddique

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

MongoDB App allows to specify 4 types of authentication mechanism:

1) #Authentication mechanism is X509 

vix.mongodb.auth.mechanism = X509 

vix.mongodb.auth.username = [username] 


2) #Authentication mechanism is Kerberos 

vix.mongodb.auth.mechanism = Kerberos

vix.mongodb.auth.username = [username] 


3) #Authentication mechanism is CR 

vix.mongodb.auth.mechanism = CR 

vix.mongodb.auth.username = [username] 

vix.mongodb.auth.password = [password as plain text]


4) #Authentication mechanism is Plain

vix.mongodb.auth.mechanism = Plain

vix.mongodb.auth.username = [username]

vix.mongodb.auth.source = [source] The value for 'vix.mongodb.auth.mechanism' is case-insensitive.

0 Karma

raje455
New Member

Hi
Thanks for giving me a reply
Vix.mongodb.auth.source is it for .pem file ????
And where I can attach the .pem file ????

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

I personally have not tried .pem, (I just tried it without authentication) but based on this link it looks like you are right:
http://api.mongodb.org/python/current/examples/authentication.html

0 Karma

rkanumula
Path Finder

vix.mongodb.auth.source is for source='source_database' Database, not for .pem file attachment is there any other solution for this ??

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...