SlideShare a Scribd company logo
1
Securing MongoDB with
Red Hat Enterprise Linux
Identity Management
Jim Wildman, Solutions Architect, Red Hat
Sandeep Parikh, Solutions Architect, MongoDB
2
MongoDB
The leading NoSQL database
Document
Database
Open-
Source
General
Purpose
3
MongoDB Features
• JSON Document Model with
Dynamic Schemas
• Auto-Sharding for Horizontal
Scalability
• Text Search
• Aggregation Framework and
MapReduce
• Full, Flexible Index Support
and Rich Queries
• Built-In Replication for High
Availability
• Advanced Security
• Large Media Storage with
GridFS
4
• Enterprise authentication using Kerberos
• In-flight encryption using SSL
• On-premise management tools for monitoring
• On-demand private training
• Integration with SNMP
• Certified for Red Hat Enterprise Linux
MongoDB Enterprise Features
5
• Identity, Policy, and Audit services
• Integrated security management solution
– Authentication
– Directory Services
– Encryption
– Client/Server Discovery
– Systems Management
• Available via
– Red Hat Enterprise Linux 6.4
– FreeIPA
Red Hat Identity Management
6
Red Hat Identity Management
7
Security Considerations
Authentication
• Identity
assurance
• SSO
Authorization
• Role-based
• Privileges
• Permissions
Auditing
• Identity logging
• Governance
reporting
Administration
• Identity
provisioning
• Change control
Encryption
• Data at rest
• Data in motion
8
Security Implications
Authentication
• Apps accessing
DB
• Nodes joining
cluster
• Admins
accessing DB
Authorization
• Apps DB
permissions
• Admins DB
permissions
Auditing
• Who logged in
Administration
• Create users
• Manage user
policies
Encryption
• Encrypting data
in-flight
9
Security Architecture
Identity
• AD
• LDAP
• Etc.
Clients
• MongoDB
• App
Servers
• Web
Servers
10
RHEL IdM Architecture
• Accounts, credentials, policies are centrally located
• Clients authenticate users and services via server as-needed
11
RHEL IdM Replication
• RHEL IdM natively supports multi-master replication
• One user name space across all data centers and replicas
12
• Lack of centrally managed identities creates security and
compliance problems
• More secure host connections (no passwords in text files)
• Host-based access control provides centralized, fine-
grained access
• Centralized “sudo” management
• Private user groups allow for better security at the file
level
• Kerberos authentication has strong security characteristics
– Password never leaves the client, hashes are strong
Security & Compliance Enhancements
13
IdM Server Setup
# install IdM packages
$ yum install ipa-server bind bind-dyndb-ldap
# set hostname
$ nano /etc/sysconfig/network
HOSTNAME=idmserver.example.com
$ hostname -v idmserver.example.com
14
IdM Server Setup
# run IdM installation
$ ipa-server-install --setup-dns
# add IdM server DNS
$ nano /etc/resolv.conf
nameserver [IdM server IP address]
# authenticate as admin via Kerberos
$ kinit admin
# list active authentications
$ klist
15
IdM Client Setup
# install IdM client and tools
$ yum install ipa-client ipa-admintools
# update hostname
$ nano /etc/sysconfig/network
HOSTNAME=idmclient.example.com
$ hostname –v idmclient.example.com
16
IdM Client Setup
# point DNS to IdM server
$ nano /etc/resolv.conf
search example.com
nameserver [IdM server IP address]
# automatically enroll this machine into IdM
$ ipa-client-install --enable-dns-updates
Discovery was successful!
Hostname: idmclient.example.com
Realm: EXAMPLE.COM
DNS Domain: example.com
IPA Server: idmhost.example.com
BaseDN: dc=example,dc=com
17
IdM Client Setup
# ex. reverse addr: 243-16-164-10.in-addr.arpa.
# add a reverse-DNS zone
$ ipa dnszone-add [idmclient-reverse-addr] 
--name-server idmserver.example.com. --force
# add a reverse-DNS record
$ ipa dnsrecord-add [idmclient-reverse-addr] 
[record-name] --ptr-hostname idmclient.example.com.
18
• MongoDB deployed on RHEL IdM clients
• Leverages authentication and encryption services
– Kerberos
– SSL
• Map MongoDB users/roles to Kerberos principals
• Encrypt connections
– Amongst MongoDB nodes
– Between MongoDB and clients
Deploying MongoDB with RHEL IdM
19
MongoDB Kerberos Setup
# add a service principal to IdM
$ ipa service-add mongodb/idmclient.example.com@EXAMPLE.COM
# retrieve the MongoDB keytab file
$ ipa-getkeytab –s idmserver.example.com 
-p mongodb/idmclient.example.com 
-k /etc/mongodb.keytab
# verify keytab
$ klist –k /etc/mongodb.keytab
20
MongoDB Kerberos Setup
$ env KRB5_KTNAME=/etc/mongodb.keytab 
mongod --fork --auth 
--dbpath /data --logpath /log/mongod.log 
--setParameter authenticationMechanism=GSSAPI
21
MongoDB SSL Setup
# issue server certificate request
$ ipa-getcert request -r 
-f /etc/cert/mongodb-server.crt 
-k /etc/cert/mongodb-server.key 
-N CN=idmclient.example.com 
-D idmclient.example.com 
-K mongodb/idmclient.example.com
# Note: -D and CN must match MongoDB hostname and –K must
match service principal
22
MongoDB SSL Setup
# cat key and cert into pem
$ cat /etc/cert/mongodb-server.key 
/etc/cert/mongodb-server.crt > 
/etc/cert/mongodb-server.pem
# start mongod with PEM and IdM CA
$ mongod --sslOnNormalPorts 
--sslPEMKeyFile=/etc/cert/mongodb-server.pem 
--sslCAFile=/etc/ipa/ca.crt
23
MongoDB Client SSL Setup
# issue client certificate request
$ ipa-getcert request 
-f /etc/cert/mongodb-client.crt 
-k /etc/cert/mongodb-client.key
# cat key and crt into pem
$ cat /etc/cert/mongodb-client.key 
/etc/cert/mongodb-client.crt > 
/etc/cert/mongodb-client.pem
24
MongoDB Client SSL Setup
$ mongo --ssl 
--sslPEMKeyFile=/etc/cert/mongodb-client.pem
--sslCAFile=/etc/ipa/ca.crt
25
• Each component will need a service entry and keytab
– In a replica set, each mongod
– In a sharded cluster, each mongod and mongos
• Verify Kerberos settings using built-in k-command
– E.g. “klist”
• Network configuration impacts authentication
– Hostnames must be set and should be consistent
– DNS/reverse-DNS and routing must be correctly set up
MongoDB and Kerberos
26
• IdM Certificate Authority provided as part of
certificate requests
• IdM Certificate Authority can be root or act as
subordinate to external CA
• Certificate management daemon monitors expirations
and can auto-renew certificates
MongoDB and SSL
27
• RHEL IdM Docs:
https://access.redhat.com/site/documentation/en-
US/Red_Hat_Enterprise_Linux/6/html-
single/Identity_Management_Guide/index.html
• Setup RHEL IdM for MongoDB Enterprise:
http://docs.mongodb.org/ecosystem/tutorial/configure-red-hat-enterprise-
linux-identity-management/
• Operational RHEL IdM Procedures:
http://docs.mongodb.org/ecosystem/tutorial/manage-red-hat-enterprise-
linux-identity-management/
Questions?

More Related Content

PPT
Introduction to Arc Flash/Blast Electrical Hazards
PDF
Bmcg article
PDF
Electrical Technology
PDF
Innova 3160g User Manual
PDF
Understanding Arc Flash
PPTX
Moulage
PDF
New holland ls180.b skid steer loader service repair manual
PDF
Cosmic Awareness 2002-01: A Story on the Origin of Islam
Introduction to Arc Flash/Blast Electrical Hazards
Bmcg article
Electrical Technology
Innova 3160g User Manual
Understanding Arc Flash
Moulage
New holland ls180.b skid steer loader service repair manual
Cosmic Awareness 2002-01: A Story on the Origin of Islam

What's hot (20)

PPT
Basic electrical safety.. or safety and protection.
PPTX
Electrical earthing
PPT
Central cooling system
DOCX
Electrical Design Package
PPTX
She training module electrical safety
PPTX
cOMPRESSIBLE FLOW.pptx
PDF
Original Opto TLP250 P250 DIP-8 New Toshiba
PDF
CMP E1FW-25 Cable Glands - Flameproof ATEX Cable Gland - 18.2-26.2mm - CMP E1...
PPTX
Nuclear propulsion
PPTX
Arduino ohm meter by Engr.Danish Nouman
PDF
Industrial electrician coursr book soft copy
PPT
Auxiliary machinery
PPT
Electrical 2
PDF
Adjustable Chokes, Adjustable Chokes Oilfield Equipment - WOM Group
PDF
Chapter 4 electrical-auxiliary_systems
PPTX
PPE for welders
PDF
3130907 ADE
PDF
Phasor series operating_manual
PPSX
Electrical Hazards and their safety
PDF
Brass Cable Glands Catalogue
Basic electrical safety.. or safety and protection.
Electrical earthing
Central cooling system
Electrical Design Package
She training module electrical safety
cOMPRESSIBLE FLOW.pptx
Original Opto TLP250 P250 DIP-8 New Toshiba
CMP E1FW-25 Cable Glands - Flameproof ATEX Cable Gland - 18.2-26.2mm - CMP E1...
Nuclear propulsion
Arduino ohm meter by Engr.Danish Nouman
Industrial electrician coursr book soft copy
Auxiliary machinery
Electrical 2
Adjustable Chokes, Adjustable Chokes Oilfield Equipment - WOM Group
Chapter 4 electrical-auxiliary_systems
PPE for welders
3130907 ADE
Phasor series operating_manual
Electrical Hazards and their safety
Brass Cable Glands Catalogue
Ad

Similar to Securing Your Deployment with MongoDB and Red Hat's Identity Management in Red Hat Enterprise Linux (20)

PPTX
It's a Dangerous World: From OS Through Application, Securing Your MongoDB In...
PPTX
Webinar: Securing your data - Mitigating the risks with MongoDB
PPTX
Low Hanging Fruit, Making Your Basic MongoDB Installation More Secure
PPTX
Beyond the Basics 4: How to secure your MongoDB database
PPTX
MongoDB World 2018: Low Hanging Fruit: Making Your Basic MongoDB Installation...
PPTX
Beyond the Basics 4 MongoDB Security and Authentication
PDF
Red hat enterprise_linux-6-identity_management_guide-en-us
PPTX
Securing Your Enterprise Web Apps with MongoDB Enterprise
PDF
Mongo db security guide
PDF
Mongo db security-guide
PPTX
Securing Your Deployment with MongoDB Enterprise
PPTX
MongoDB Days UK: Securing Your Deployment with MongoDB Enterprise
PDF
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
PDF
Building Open Source Identity Management with FreeIPA
PDF
MongoDB Europe 2016 - Who’s Helping Themselves To Your Data? Demystifying Mon...
PPTX
It's a Dangerous World
PDF
A Journey to Magical Security Creatures' Land
PPTX
Securing Hadoop - MapR Technologies
PDF
RHCP_IdM_Lab_User_Guide_2015
PPTX
Securing Your MongoDB Deployment
It's a Dangerous World: From OS Through Application, Securing Your MongoDB In...
Webinar: Securing your data - Mitigating the risks with MongoDB
Low Hanging Fruit, Making Your Basic MongoDB Installation More Secure
Beyond the Basics 4: How to secure your MongoDB database
MongoDB World 2018: Low Hanging Fruit: Making Your Basic MongoDB Installation...
Beyond the Basics 4 MongoDB Security and Authentication
Red hat enterprise_linux-6-identity_management_guide-en-us
Securing Your Enterprise Web Apps with MongoDB Enterprise
Mongo db security guide
Mongo db security-guide
Securing Your Deployment with MongoDB Enterprise
MongoDB Days UK: Securing Your Deployment with MongoDB Enterprise
Webinar Slides: Become a MongoDB DBA (if you’re really a MySQL user)
Building Open Source Identity Management with FreeIPA
MongoDB Europe 2016 - Who’s Helping Themselves To Your Data? Demystifying Mon...
It's a Dangerous World
A Journey to Magical Security Creatures' Land
Securing Hadoop - MapR Technologies
RHCP_IdM_Lab_User_Guide_2015
Securing Your MongoDB Deployment
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Review of recent advances in non-invasive hemoglobin estimation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Digital-Transformation-Roadmap-for-Companies.pptx
Programs and apps: productivity, graphics, security and other tools
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
“AI and Expert System Decision Support & Business Intelligence Systems”
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Understanding_Digital_Forensics_Presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)

Securing Your Deployment with MongoDB and Red Hat's Identity Management in Red Hat Enterprise Linux

  • 1. 1 Securing MongoDB with Red Hat Enterprise Linux Identity Management Jim Wildman, Solutions Architect, Red Hat Sandeep Parikh, Solutions Architect, MongoDB
  • 2. 2 MongoDB The leading NoSQL database Document Database Open- Source General Purpose
  • 3. 3 MongoDB Features • JSON Document Model with Dynamic Schemas • Auto-Sharding for Horizontal Scalability • Text Search • Aggregation Framework and MapReduce • Full, Flexible Index Support and Rich Queries • Built-In Replication for High Availability • Advanced Security • Large Media Storage with GridFS
  • 4. 4 • Enterprise authentication using Kerberos • In-flight encryption using SSL • On-premise management tools for monitoring • On-demand private training • Integration with SNMP • Certified for Red Hat Enterprise Linux MongoDB Enterprise Features
  • 5. 5 • Identity, Policy, and Audit services • Integrated security management solution – Authentication – Directory Services – Encryption – Client/Server Discovery – Systems Management • Available via – Red Hat Enterprise Linux 6.4 – FreeIPA Red Hat Identity Management
  • 6. 6 Red Hat Identity Management
  • 7. 7 Security Considerations Authentication • Identity assurance • SSO Authorization • Role-based • Privileges • Permissions Auditing • Identity logging • Governance reporting Administration • Identity provisioning • Change control Encryption • Data at rest • Data in motion
  • 8. 8 Security Implications Authentication • Apps accessing DB • Nodes joining cluster • Admins accessing DB Authorization • Apps DB permissions • Admins DB permissions Auditing • Who logged in Administration • Create users • Manage user policies Encryption • Encrypting data in-flight
  • 9. 9 Security Architecture Identity • AD • LDAP • Etc. Clients • MongoDB • App Servers • Web Servers
  • 10. 10 RHEL IdM Architecture • Accounts, credentials, policies are centrally located • Clients authenticate users and services via server as-needed
  • 11. 11 RHEL IdM Replication • RHEL IdM natively supports multi-master replication • One user name space across all data centers and replicas
  • 12. 12 • Lack of centrally managed identities creates security and compliance problems • More secure host connections (no passwords in text files) • Host-based access control provides centralized, fine- grained access • Centralized “sudo” management • Private user groups allow for better security at the file level • Kerberos authentication has strong security characteristics – Password never leaves the client, hashes are strong Security & Compliance Enhancements
  • 13. 13 IdM Server Setup # install IdM packages $ yum install ipa-server bind bind-dyndb-ldap # set hostname $ nano /etc/sysconfig/network HOSTNAME=idmserver.example.com $ hostname -v idmserver.example.com
  • 14. 14 IdM Server Setup # run IdM installation $ ipa-server-install --setup-dns # add IdM server DNS $ nano /etc/resolv.conf nameserver [IdM server IP address] # authenticate as admin via Kerberos $ kinit admin # list active authentications $ klist
  • 15. 15 IdM Client Setup # install IdM client and tools $ yum install ipa-client ipa-admintools # update hostname $ nano /etc/sysconfig/network HOSTNAME=idmclient.example.com $ hostname –v idmclient.example.com
  • 16. 16 IdM Client Setup # point DNS to IdM server $ nano /etc/resolv.conf search example.com nameserver [IdM server IP address] # automatically enroll this machine into IdM $ ipa-client-install --enable-dns-updates Discovery was successful! Hostname: idmclient.example.com Realm: EXAMPLE.COM DNS Domain: example.com IPA Server: idmhost.example.com BaseDN: dc=example,dc=com
  • 17. 17 IdM Client Setup # ex. reverse addr: 243-16-164-10.in-addr.arpa. # add a reverse-DNS zone $ ipa dnszone-add [idmclient-reverse-addr] --name-server idmserver.example.com. --force # add a reverse-DNS record $ ipa dnsrecord-add [idmclient-reverse-addr] [record-name] --ptr-hostname idmclient.example.com.
  • 18. 18 • MongoDB deployed on RHEL IdM clients • Leverages authentication and encryption services – Kerberos – SSL • Map MongoDB users/roles to Kerberos principals • Encrypt connections – Amongst MongoDB nodes – Between MongoDB and clients Deploying MongoDB with RHEL IdM
  • 19. 19 MongoDB Kerberos Setup # add a service principal to IdM $ ipa service-add mongodb/idmclient.example.com@EXAMPLE.COM # retrieve the MongoDB keytab file $ ipa-getkeytab –s idmserver.example.com -p mongodb/idmclient.example.com -k /etc/mongodb.keytab # verify keytab $ klist –k /etc/mongodb.keytab
  • 20. 20 MongoDB Kerberos Setup $ env KRB5_KTNAME=/etc/mongodb.keytab mongod --fork --auth --dbpath /data --logpath /log/mongod.log --setParameter authenticationMechanism=GSSAPI
  • 21. 21 MongoDB SSL Setup # issue server certificate request $ ipa-getcert request -r -f /etc/cert/mongodb-server.crt -k /etc/cert/mongodb-server.key -N CN=idmclient.example.com -D idmclient.example.com -K mongodb/idmclient.example.com # Note: -D and CN must match MongoDB hostname and –K must match service principal
  • 22. 22 MongoDB SSL Setup # cat key and cert into pem $ cat /etc/cert/mongodb-server.key /etc/cert/mongodb-server.crt > /etc/cert/mongodb-server.pem # start mongod with PEM and IdM CA $ mongod --sslOnNormalPorts --sslPEMKeyFile=/etc/cert/mongodb-server.pem --sslCAFile=/etc/ipa/ca.crt
  • 23. 23 MongoDB Client SSL Setup # issue client certificate request $ ipa-getcert request -f /etc/cert/mongodb-client.crt -k /etc/cert/mongodb-client.key # cat key and crt into pem $ cat /etc/cert/mongodb-client.key /etc/cert/mongodb-client.crt > /etc/cert/mongodb-client.pem
  • 24. 24 MongoDB Client SSL Setup $ mongo --ssl --sslPEMKeyFile=/etc/cert/mongodb-client.pem --sslCAFile=/etc/ipa/ca.crt
  • 25. 25 • Each component will need a service entry and keytab – In a replica set, each mongod – In a sharded cluster, each mongod and mongos • Verify Kerberos settings using built-in k-command – E.g. “klist” • Network configuration impacts authentication – Hostnames must be set and should be consistent – DNS/reverse-DNS and routing must be correctly set up MongoDB and Kerberos
  • 26. 26 • IdM Certificate Authority provided as part of certificate requests • IdM Certificate Authority can be root or act as subordinate to external CA • Certificate management daemon monitors expirations and can auto-renew certificates MongoDB and SSL
  • 27. 27 • RHEL IdM Docs: https://access.redhat.com/site/documentation/en- US/Red_Hat_Enterprise_Linux/6/html- single/Identity_Management_Guide/index.html • Setup RHEL IdM for MongoDB Enterprise: http://docs.mongodb.org/ecosystem/tutorial/configure-red-hat-enterprise- linux-identity-management/ • Operational RHEL IdM Procedures: http://docs.mongodb.org/ecosystem/tutorial/manage-red-hat-enterprise- linux-identity-management/ Questions?

Editor's Notes

  • #4: MongoDB provides agility, scalability, and performance without sacrificing the functionality of relational databases, like full index support and rich queriesIndexes: secondary, compound, text search (with MongoDB 2.4), geospatial, and more