Configuring secure MongoDB connections in Liberty

You can configure application-managed or container-managed security for MongoDB connections in Liberty.

Before you begin

Enable your application to use MongoDB. See Creating Liberty applications that use MongoDB.

About this task

You can secure MongoDB applications by using application-managed security, container-managed security, SSL-managed security, or certificate authentication. For all types of security, the MongoDB server must be running with authentication that is explicitly enabled to secure MongoDB connections.

Procedure

What to do next

Ensure that the MongoDB server is running, and then test the MongoDB security from your application.


Icon that indicates the type of topic Task topic

File name: twlp_mongodb_secure.html