A security gateway is a proxy system designed to integrate and interconnect iPaaS and your private network service. You can use it when you want to integrate your private network service through iPaaS (deployed in the public cloud) but your private network service is inaccessible over the public network.
A security gateway consists of the Server and the Agent:
bindirectory contains the executable programs of the Agent, which are in sub-directories
Macfor use on different operating systems.
configsdirectory contains the configurations required for Agent execution. In
clientdirectory stores the configurations such as key required for Agent TLS communication. Such configurations correspond to those of the Server. Files in this directory cannot be deleted or modified.
secretdirectory stores the private key for the Agent to connect to the Server. For more information on how to generate a private key, see Generating Public and Private Keys.
config.yamlfile contains configurations that must be depended on for Agent execution.
logger_config.yamlfile contains the log configuration for Agent execution. You can modify the log level and log backup policy.
logdirectory stores logs generated during Agent execution.
scriptsdirectory stores the Agent startup/stop scripts (
You can modify the
logger_config.yaml file in the
ipaas-private-cloud-agent/configs directory of the Agent to modify the gateway log level and log backup policy as needed. The meaning of each parameter has been detailed in the file.
Run the startup script for your operating system to start the Agent:
Below are the commands for stopping the Agent on different operating systems:
Run the following command to check whether OpenSSL has been installed:
If the OpenSSL version information can be output normally after the command is executed, OpenSSL has been installed and you can skip step 2; otherwise, install OpenSSL as instructed below.
The OpenSSL installation method varies by operating system as follows:
Run the following command to install OpenSSL:
C:\Program Files\OpenSSL-Win64, which will be used in OpenSSL environment variable configuration.
sysdm.cpland press Enter to open the System Properties window.
bindirectory in the OpenSSL installation directory to add it to the variables on the left (the
bindirectory path is the installation directory path plus
bin; for example, if the installation directory path is
C:\Program Files\OpenSSL-Win64, the
bindirectory path will be
cmdand press Enter to open the System Properties window.
openssl versioncommand. If the OpenSSL version information is displayed, OpenSSL is installed successfully; otherwise, carefully check the installation steps.
openssl genrsa -out private.pem 1024
Place the generated private key in the
2. Run the following command to generate a public key for the private key. The
public.pemfile generated in the current directory is the public key.
openssl rsa -in private.pem -RSAPublicKey_out -out public.pem
private.pemfile in the