To enable SSL between flair engine and flair bi, or between flair engine and flair cache, you should generate SSL certificates first.
Enable SSL between flair engine and flair bi
To generate SSL certs, run this command:
cd src/main/resources/ssl/certsgen
./generate.sh
Make sure you open that bash file and check SERVER_CN and CLIENT_CN variables there. If you plan to run in docker environment, then keep these values as is. If you plan to deploy to a real production environment, then change these values to contain real hostnames of the services.
After that, copy the whole contents from src/main/resources/ssl/certsgen/* to flair-bi projects to the same location
cd src/main/resources/ssl/cachecertsgen
./generate.sh
Make sure you open that bash file and check SERVER_CN and CLIENT_CN variables there. If you plan to run in docker environment, then keep these values as is. If you plan to deploy to a real production environment, then change these values to contain real hostnames of the services.
After that, copy the whole contents from src/main/resources/ssl/cachecertsgen/* to flair-bi projects to the same location