# Issue with IDA cert upload，version 1.2.0.1-B3

**URL:** <https://community.mosip.io/t/issue-with-ida-cert-upload-version-1-2-0-1-b3/651>\
**Category:** Developer\
**Created:** [August 3, 2023, 8:17am UTC](https://community.mosip.io/t/issue-with-ida-cert-upload-version-1-2-0-1-b3/651 "2023-08-03T08:17:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@ryan](https://community.mosip.io/u/ryan)\
**Post date:** [August 3, 2023, 8:17am UTC](https://community.mosip.io/t/issue-with-ida-cert-upload-version-1-2-0-1-b3/651/1 "2023-08-03T08:17:05Z")

</div>

Hello again,  
According to the README file of the IDA module, after the module installation is completed, I need to upload the IDA certificates.  
Below is the result of the command I executed, What should be filled in for “url” and “admin-client-secret”?  
And should I deploy all the MOSIP modules first before executing this operation?

```auto
newman run collection.json -e env.json --env-var 'url=https://api-internal.sandbox.miaxis.com' --env-var 'admin-client-secret=admin123'

```

here’s error log:

```auto

Automated Cert Upload for IDA

→ Authentication
  POST https://api-internal.sandbox.miaxis.com/v1/authmanager/authenticate/clientidsecretkey [errored]
     unable to verify the first certificate
  2. Clientid and Token combination has been validated successfully

→ GET IDA Internal Root Certificate
  GET https://api-internal.sandbox.miaxis.com/idauthentication/v1/internal/getCertificate?applicationId=ROOT [errored]
     unable to verify the first certificate
  4⠄ JSONError in test-script

→ POST IDA Internal Root certificate
  POST https://api-internal.sandbox.miaxis.com/v1/partnermanager/partners/certificate/ca/upload [errored]
     unable to verify the first certificate
  6⠄ JSONError in test-script

→ GET IDA certificate
  GET https://api-internal.sandbox.miaxis.com/idauthentication/v1/internal/getCertificate?applicationId=IDA [errored]
     unable to verify the first certificate
  8⠄ JSONError in test-script

→ POST IDA Certificate
  POST https://api-internal.sandbox.miaxis.com/v1/partnermanager/partners/certificate/ca/upload [errored]
     unable to verify the first certificate
 10⠄ JSONError in test-script

→ GET Mpartner default-auth certificate
  GET https://api-internal.sandbox.miaxis.com/idauthentication/v1/internal/getCertificate?applicationId=IDA&referenceId=mpartner-default-auth [errored]
     unable to verify the first certificate
 12⠄ JSONError in test-script

→ POST Mpartner-Deafult-AuthCertificate certificate
  POST https://api-internal.sandbox.miaxis.com/v1/partnermanager/partners/certificate/upload [errored]
     unable to verify the first certificate
 14⠄ JSONError in test-script

→ Upload the Signed certificate
  POST https://api-internal.sandbox.miaxis.com/idauthentication/v1/internal/uploadCertificate [errored]
     unable to verify the first certificate
 16. Posted Signed certificate

→ Get IDA-CRED SERVICE cert
  GET https://api-internal.sandbox.miaxis.com/idauthentication/v1/internal/getCertificate?applicationId=IDA&referenceId=CRED_SERVICE [errored]
     unable to verify the first certificate
 18⠄ JSONError in test-script

→ POST IDA-PUBLIC_KEY certificate
  POST https://api-internal.sandbox.miaxis.com/v1/keymanager/uploadOtherDomainCertificate [errored]
     unable to verify the first certificate
 20⠄ JSONError in test-script

┌─────────────────────────┬──────────┬──────────┐
│ │ executed │ failed │
├─────────────────────────┼──────────┼──────────┤
│ iterations │ 1 │ 0 │
├─────────────────────────┼──────────┼──────────┤
│ requests │ 10 │ 10 │
├─────────────────────────┼──────────┼──────────┤
│ test-scripts │ 10 │ 8 │
├─────────────────────────┼──────────┼──────────┤
│ prerequest-scripts │ 4 │ 0 │
├─────────────────────────┼──────────┼──────────┤
│ assertions │ 2 │ 2 │
├─────────────────────────┴──────────┴──────────┤
│ total run duration: 527ms │
├───────────────────────────────────────────────┤
│ total data received: 0B (approx) │
└───────────────────────────────────────────────┘

   # failure detail

 01. Error unable to verify the first certificate
                                           at request
                                           inside "Authentication"

 02. AssertionError Clientid and Token combination has been validated successfully
                                           the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a
                                           string, or a weakset instead of a string
                                           at assertion:0 in test-script
                                           inside "Authentication"

 03. Error unable to verify the first certificate
                                           at request
                                           inside "GET IDA Internal Root Certificate"

 04. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "GET IDA Internal Root Certificate"

 05. Error unable to verify the first certificate
                                           at request
                                           inside "POST IDA Internal Root certificate"

 06. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "POST IDA Internal Root certificate"

 07. Error unable to verify the first certificate
                                           at request
                                           inside "GET IDA certificate"

 08. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "GET IDA certificate"

 09. Error unable to verify the first certificate
                                           at request
                                           inside "POST IDA Certificate"

 10. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "POST IDA Certificate"

 11. Error unable to verify the first certificate
                                           at request
                                           inside "GET Mpartner default-auth certificate"

 12. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "GET Mpartner default-auth certificate"

 13. Error unable to verify the first certificate
                                           at request
                                           inside "POST Mpartner-Deafult-AuthCertificate certificate"

 14. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "POST Mpartner-Deafult-AuthCertificate certificate"

 15. Error unable to verify the first certificate
                                           at request
                                           inside "Upload the Signed certificate"

 16. JSONError Posted Signed certificate
                                           Unexpected token u in JSON at position 0
                                           at assertion:0 in test-script
                                           inside "Upload the Signed certificate"

 17. Error unable to verify the first certificate
                                           at request
                                           inside "Get IDA-CRED SERVICE cert"

 18. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "Get IDA-CRED SERVICE cert"

 19. Error unable to verify the first certificate
                                           at request
                                           inside "POST IDA-PUBLIC_KEY certificate"

 20. JSONError Unexpected token u in JSON at position 0
                                           at test-script
                                           inside "POST IDA-PUBLIC_KEY certificate"

```

---

<div class="post-metadata">

**Author:** ![ckm007](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/ckm007/32/264_2.png) [@ckm007](https://community.mosip.io/u/ckm007)\
**Post date:** [August 4, 2023, 4:18am UTC](https://community.mosip.io/t/issue-with-ida-cert-upload-version-1-2-0-1-b3/651/2 "2023-08-04T04:18:33Z")

</div>

@ryan did we executed partner onboarder?  
If yes, please check and share the logs of partner-onboarder.

We have automated below mentioned partner certificate as part of partner onboarder:

1. IDA
2. ABIS
3. Print
4. Resident etc.

---

<div class="post-metadata">

**Author:** ![ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@ryan](https://community.mosip.io/u/ryan)\
**Post date:** [August 5, 2023, 1:13am UTC](https://community.mosip.io/t/issue-with-ida-cert-upload-version-1-2-0-1-b3/651/3 "2023-08-05T01:13:03Z")

</div>

@ckm007  
Hello, I haven’t installed the partner-onboarder module yet. I followed the sequence in the `/deployment/v3/mosip/all/install-all.sh` script to install each module.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/cb090ca1b981319d3f5fab707a92b8ee83599426.png)

The IDA module is installed before the partner-onboarder module. Are you saying that if I install partner-onboarder, I don’t need to manually execute the “Onboard IDA as a partner” step anymore?

---

<div class="post-metadata">

**Author:** ![ckm007](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/ckm007/32/264_2.png) [@ckm007](https://community.mosip.io/u/ckm007)\
**Post date:** [August 7, 2023, 8:34am UTC](https://community.mosip.io/t/issue-with-ida-cert-upload-version-1-2-0-1-b3/651/4 "2023-08-07T08:34:46Z")

</div>

yes… If onboarder is executed then manually Ida cert upload is not needed.
