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?
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:
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"