How to create a MISP and get a license key?
Here are the basic steps and APIs to create a MISP in MOSIP and issue a MISP license key.
Pre-requisites
The MOSIP partner type table should have a Partner Type called “MISP_Partner”.
The MISP partner should have a valid certificate. Here, a valid certificate means, the certificate should be issues to the MISP partner by an authorized CA (who is onboarded by MOSIP).
Instructions
Detailed steps for creating a MISP in MOSIP and issuing an license key.
Create a MISP Partner using our partner management API,
Request URLPOST https://{domain}/v1/partnermanager/partners
Request Body
{ "id": "string", "metadata": {}, "request": { "address": "Airtel,mumbai", "contactNumber": "9987655443", "emailId": "info@airtel.in", "organizationName": "Airtel", "partnerId": "AIRTEL", "partnerType": "MISP_Partner", "policyGroup": "" }, "requesttime": "", "version": "string" }
Response
{ "id": "string", "version": "string", "responsetime": "2021-04-28T08:01:05.299Z", "metadata": null, "response": { "partnerId": "AIRTEL", "status": "InProgress" }, "errors": [] }
Make sure the CA certificate is available in the MOISP’s CA Certificate Store. If not, then upload the CA certificate in MOSIP’s CA certificate store.
Request URLRequest Body
Response Body
Upload the MISP certificate.
Request URLRequest Body
Response
Generate a MISP license key
RequestRequest Body
Response
The certificate uploaded by the MISP is not used in MOSIP for any signing or encryption purpose but it is used for general verification of the partner. It is a standard procedure followed for all partners.