Registration client setup for partners - Synergy
General Pre-requisites
Hardware
Workstation:
Windows 10/11 laptop or desktop
Minimum 16 GB RAM
50 GB of free space on the hard disk
The workstation should be TPM 2.0 enabled. This URL (click here) will guide you with the sequence of steps to check if your workstation is TPM enabled.
It is important that your workstation is TPM 2.0 enabled and not with any older version of TPM. If your workstation has an older version of TPM, like TPM 1.2, then you may have to upgrade your BIOS firmware to upgrade to TPM 2.0. You should contact your vendor in this respect if you are not aware on how to do this.
Software
Mock MDS - This will simulate biometric capture if you do not have real biometric devices with you. https://github.com/mosip/mosip-mock-services
TPM Utility - This is used for registering the workstation on which the registration client would be executed.
JAVA - JAVA 11 is installed and JAVA_HOME is in the PATH
Provide the workstation details.
Download and extract the TPM utility as explained in README.txt from the command prompt
Run the following command from the folder where the tpm jar is located
java -jar tpmutility-0.0.2.jar > tpmdetails.txt
Email “tpmdetails.txt” to your MOSIP contact.
Your MOSIP contact will register your workstation on the designated MOSIP server and communicate the credentials for logging into the registration client back to you.
WireGuard Configuration
Note : The WireGuard configuration is unique to a machine. After installing WireGuard, get your unique WireGuard configuration for the machine(s) from your MOSIP Contact.
Download and install WireGuard client from https://www.WireGuard.com/install/
From the WireGuard UI, press ctrl-N which will display a window to create a new tunnel.
Provide the name and public key that has been shared with you by your MOSIP contact.
Activate WireGuard, which should give you the following screen.
Running Mock MDS
Download and extract the Mock MDS zip provided
Certificates need to be placed in
Biometric Devices > Face > keys
Biometric Devices > Finger > keys
Biometric Devices > Iris > keys
The certificates need to be placed in the certificate paths as highlighted in the mock MDSUpdate the
application.property
file as below after placing the certificates Need to change your details in the highlighted partBuild the Mock MDS in the command prompt in the same directory where the pom file exists
(runmvn clean install
)After building Mock Mds Target Folder will be created in the same directory
Open the target folder and execute
run.bat
(double click)By default, the Purpose will be set for Registration and the Biometric Type will be set to Biometric Device also the device discovery port by default will be 4501. To change the Purpose or Biometric Type edit the run.bat file in a notepad.
You can set the Purpose as “Registration” or “Auth” (For reg-client purpose will be Registration)
If you set Biometric Type to Biometric Device, All the devices will be displayed during device discovery if you want to set it to a specific device type you can set it from the following options.
Biometric Device
Finger
Face
Iris
Mock MDS will start running and start listening on a port between 4501 and 4600.
If run successfully, you would see the following output
Ensure that Mock MDS is always running whenever you are running the registration client
Adding Your Own Biometrics
If need to add your own biometrics,
open the profile folder > add a new folder with your own biometricsWhile running mock MDS use API to change the biometrics folder Post method URI:
http://127.0.0.1:4501/admin/profile
Request:{ "type": "Biometric Device", //Possible Values: Biometric device, Face, Iris or Finger "profileId": "Name" //Name given to Biometric folder }
Setting up the Registration Client
Download the registration client from https://regclient.synergy.mosip.net/registration-client/1.2.0.1-B1/reg-client.zip
Extract the registration client zip file and click on run.bat. Make sure that you have JAVA in your path.
Login with the credentials provided to you
Registration Client: Registration Process
After your registration client is completely set up, please follow the below steps:
Login using your user credentials
Click on “Synchronize Data”
Click on “New Registration”
Choose the preferred language and proceed entering the Demographics details
Click on “Continue”
Upload documents - Address Proof and Identify Proof mandatory then scan, capture and save
Click on “Continue”
Add Biometric details by scanning
Click on “Continue”
Click on “Agree” and “Continue”
Provide the password and “Continue”
Navigate to Home
Click on “Pending Packet Approval” > “Approve” and then > “Authenticate” by providing the correct credentials
In home screen - click on “Registration Data Upload”
Select packet and Click Upload
After upload check for the RID in the drives where the registration client is installed . The packet folder will be created and inside the folder packet will be there with a Name same as RID.
To get UIN follow step 17 and 18
17 .Authenticate POST
https://api-internal.synergy.mosip.net/v1/authmanager/authenticate/clientidsecretkey
//Request Body
{
"id": "string",
"metadata": {},
"request": {
"appId": "regproc",
"clientId": "mosip-regproc-client",
"secretKey": "IwKVNHehKvzjhxHB"
},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string"
}
18
Add RID in URI
GET
https://api-internal.synergy.mosip.net/idrepository/v1/identity/idvid/{{RID}}
You can find the UIN in response