The issue is that the container created using the built image doesn't start up properly when the "ballerinaKeystore" and "ballerinaTruststore" passwords are encrypted for the Docker environment in Microgateway. However, it functions as expected in the VM-based approach.
Steps to Reproduce
First, go to the /lib/platform/bin folder and execute the following command
./ballerina encrypt
Enter the value which you need to encrypt with a secret.
After entering both values, you will get an encryption key as below.
Description
The issue is that the container created using the built image doesn't start up properly when the "ballerinaKeystore" and "ballerinaTruststore" passwords are encrypted for the Docker environment in Microgateway. However, it functions as expected in the VM-based approach.
Steps to Reproduce
./ballerina encrypt
<key>="@encrypted:{hQJverd9yJi7iF98/gyTkuIjY75gXdcEqmUeEleKRJ4=}"
When trying out the above approach we could see that the image is not starting up properly.
Version
Microgateway 3.2.0
Related Issues
https://github.com/wso2/api-manager/issues/2886