Import a certificate in the JVM of Packmind takes place at the start of the application. To do this, place all your certificates in the directory of the host machine, we'll call it "certs".
Then, edit the docker-compose.yml configuration file. In the section matching the Promyze service, update the "volumes" sections:
promyze:
image: promyze/promtze
container_name: promyze
environment:
- PROMYZE_URL=http://localhost:3001 #REPLACE WITH THE FULL URL OF THEMIS
- WEB_SOCKET_PORT=3000 #REPLACE BY THE PORT USED BY THE SOCKET EXPOSED BY DOCKER
- SERVER_HOST=localhost #REPLACE BY THE URL OF THE MACHINE
- SERVER_PORT=3001 #REPLACE BY THE PORT USED BY THEMIS EXPOSED BY DOCKER
depends_on:
- mongodb
ports:
- 3000:3000 # Replace the left part by the port of your choice
- 3001:3001 # Replace the left part by the port of your choice
volumes_from:
- dataonly
volumes:
- ./certs:/data/certs
by replacing "./certs" by the full path of a directory containing the different certificates. If the directory is at the same level as the docker-compose.yml file, you may simply update the "certs" value by name of the depository.
If you have already performed Themis, it will be necessary to recreate the container thank to the order:
docker-compose up -d
Due to that, wait a few seconds and observe the result of the import of the certificates like this: