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.
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.
- MOSIP Overview - Home | MOSIP Docs 1.2.0
- KeyManager Overview - Key Manager | MOSIP Docs 1.2.0
- KeyManager Developer setup - Key Manager Developers Guide | MOSIP Docs 1.2.0
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
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:
- keymanager/kernel/kernel-keymanager-service/Dockerfile at master · mosip/keymanager · GitHub
- 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 .
@Dattatray_More can you confirm if the problem is solved with this?
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