Registration client setup for partners - Extint1
General Pre-requisites
Hardware
Workstation:
Windows 10 laptop or desktop
Minimum 8 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. GitHub - 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
Download the files machine.csv and fill in the details. Replace the variables in <> angle brackets with the actual value.
Send the files machine.csv with 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.
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://extint1.mosip.net/registration-client/1.1.5.5/reg-client.zip (reg-client has to be installed in the D: drive because packet creation needs some settings which is sometimes not there in the C: drive.)
Set an environment system variable
mosip.hostname
with value as <mosip server URL>.
For example:mosip.hostname
= extint1.mosip.netExtract 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”
Enter 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 RID in the D:drive where packet folder will be created and inside folder packet will be there with a Name same as RID. (Packet folder will be generated in D drive or place where registration client is installed)
Authenticate
POST
https://extint1.mosip.net/v1/authmanager/authenticate/clientidsecretkey
//Request Body { "id": "string", "metadata": {}, "request": { "appId": "regproc", "clientId": "mosip-regproc-client", "secretKey": "abc123" }, "requesttime": "2020-12-09T04:45:46.079Z", "version": "string" }
Add RID in URI
POST
https://extint1.mosip.net/idrepository/v1/identity/idvid/{{RID}}
You can find the UIN in response