Connecting Oracle GoldenGate Veridata to SSL-Enabled Mongo Database

General Keystore and Truststore Setup:

Note: All keystores must be created in the agent_deployment_location/config/certs directory.

Steps to store Truststore and Keystore password for SSL

  1. Navigate to the agent deployment location:

    cd agent_deploy_location
  2. Run the configuration script:

    ./configure_agent_ssl.sh
  3. Follow the prompts to provide the truststore and keystore details, which will be stored in the agent wallet.

    The stored passwords will be used by the agent when connecting to the database via SSL/TLS.

Create a Truststore:

keytool -importcert -file ca.pem -alias mongoCA -keystore
vdtDBAgentTruststore.p12 -storetype PKCS12 -storepass changeit -noprompt

Create a Keystore:

keytool -importcert -file ca.pem -alias mongoCA -keystore
vdtDBAgentKeystore.p12 -storetype PKCS12 -storepass changeit -noprompt

SSL Syntax: database.url=mongodb://<username>:<password>@localhost:27017/?tls=true

Example URL: database.url=mongodb://admin:admin@localhost:27017/?tls=true