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

  1. The MOSIP partner type table should have a Partner Type called “MISP_Partner”.

  2. 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.

  1. Create a MISP Partner using our partner management API,
    Request URL

    POST 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": [] }

     

  2. 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 URL

    Request Body

    Response Body

     

  3. Upload the MISP certificate.
    Request URL

    Request Body

    Response

     

  4. Generate a MISP license key
    Request

    Request 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.