Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Bolo.

Table of Contents

Search

  1. Connectors and connections
  2. Connection configuration
  3. Connection properties
  4. Swagger file generation for REST V2 connections

Connections

Connections

Configure SSL for the serverless runtime environment

Configure SSL for the serverless runtime environment

You can use the serverless runtime environment with MongoDB V2 Connector to connect to an SSL-enabled MongoDB database.
Before you configure a secure MongoDB V2 connection using the serverless runtime environment, you need to perform certain prerequisites:
  1. Ensure that the truststore and keystore certificate files are in .jks format.
  2. Add the truststore and keystore certificates in the Amazon S3 bucket in the following location in your AWS account:
    <Supplementary file location>/serverless_agent_config/SSL
  3. Copy the following code snippet to a text editor:
    version: 1 agent: agentAutoApply: general: sslStore: - fileCopy: sourcePath: SSL/<cert_filename> - fileCopy: sourcePath: SSL/<cert_filename>
    where the source path is the directory path of the certificate files in AWS.
    You can add multiple source paths of the certificate files by adding multiple
    fileCopy
    tags.
  4. Ensure that the syntax and indentations are valid, and then save the file as
    serverlessUserAgentConfig.yml
    in the following AWS location:
    <Supplementary file location>/serverless_agent_config
    When the .yml file runs, the SSL certificates are copied from the AWS location to the serverless agent directory.
  5. Deploy the serverless agent.
  6. Specify the following certificate path in the serverless agent directory for the truststore and keystore file path fields:
    /home/cldagnt/SystemAgent/serverless/configurations/ssl_store/<cert_filename>

0 COMMENTS

We’d like to hear from you!