Artifact and mosip key manager

Hello, i want to setup the mossip key manager using artifact, i am completely new into it and i want to setup it using docker, could you please share me the setps for it.

Hi @Dattatray_More

Welcome to the MOSIP Community!

As I understand you are new to MOSIP infrastructure no worries we have detailed documentation which will help and guide you through the setup.

Please refer above docs in case still you have questions or doubts, let us know in detail we will guide you through it.

Best regards,
Team MOSIP

1 Like

Hello, i had followed the documentations and i am getting running artifact container successfully, but for key manager service i am not able to run docker container with linking to the artifact container,
“docker run --name kms1 --network
my_custom_network -e BACKEND_URL=http://artifact2:8080 kms
**Download the client from **
Zip File Path: artifactory/libs-release-local/hsm/client.zip
bolded format are the output of the key manager service container

Hello, i found this
keymanager/kernel/kernel-keymanager-service/configure_start.sh at master · mosip/keymanager · GitHub
where i am not able to find the url of artifact, can u please share me any documentory or anyflow so i can follow it for an artifactory

Hi @Dattatray_More we need to provide the artifactory url as env var artifactory_url_env.
reference:

  1. keymanager/kernel/kernel-keymanager-service/Dockerfile at master · mosip/keymanager · GitHub
  2. keymanager/kernel/kernel-keymanager-service/configure_start.sh at master · mosip/keymanager · GitHub

Please check once by adding the artifactory url to keymanager as env variable.

yes i understood, we need to add artifact url as env , can u share me artifact url so i can use it .

artifactory url is actually the server url of live artifactory server.

above should be the value of artifactory_url_env .

1 Like

@Dattatray_More can you confirm if the problem is solved with this?

1 Like

Hello @ckm007 GitHub - mosip/artifactory-ref-impl: Contains all the necessary run time artifacts required by mosip modules
i am using this as artifact and running on docker, container is successfully running and now i want to use this artifact server as backend to the key manager service, how can i use this container as artifact_server_url in kms

pass an env variable
Key = artifactory-ref-impl
value: http://artifact2:8080/

with this env variable being passed to the keymanager docker it should be able to connect to the artifactory and continue.
Also make sure they are in same docker network so that they can access each other.

Hi @Dattatray_More ,

Can you confirm whether this issue resolved? if you are facing anymore issues please let us know

Regards,
Varaniya S
On behalf of MOSIP

1 Like