Secure communication in a serverless runtime environment
When you use the serverless runtime environment, you can configure TLS authentication and establish one-way or two-way secure communication with the REST API.
Ensure that the certificates are in the .jks format.
To configure a secure REST V2 connection using the serverless runtime environment, complete the following prerequisite tasks to add the TLS certificates to the serverless runtime location:
1Create the following structure for the serverless agent configuration in AWS:
2For one-way secure communication, add the truststore certificates and for the two-way secure communication, add the truststore and keystore certificates in the Amazon S3 bucket in the following location in your AWS account:
When the .yml file runs, the SSL certificates are copied from the AWS location to the serverless agent directory.
5In the REST V2 connection properties, specify the following certificate path in the serverless agent directory in the TrustStore File Path and KeyStore File Path fields: