generate_ssl_key_universal_connector

Run this API to configure an SSL connection, instead of the default TCP/UDP connection. This API prints the private key and public certificate to CLI. You need to copy it, and configure it on Filebeat (uncomment the lines as described in the configuration file) on your MongoDB server.

This API is available in Guardium V11.3 and later.

REST API syntax

This API is available as a REST service with the POST method. Call this API as follows:
POST https://[Guardium hostname or IP address]:8443/restAPI/generateSSLKeyUniversalConnector

GuardAPI syntax

generate_ssl_key_universal_connector parameter=value

Parameters

Parameter Value type Description
hostname String Hostname of the Guardium machine that generated the API, or wildcard (see default value).
Default value: *.guard.swg.usma.ibm.com
overwrite Boolean Overwrite the existing key and certificate, if they exist. Valid values:
  • 0: no
  • 1: yes
Default = 0 (no)

Examples

To generate the SSL key:

grdapi generate_ssl_key_universal_connector hostname=<collector name>
Guardium Universal Connector command has been executed.