401 Unauthorized

*When I debug locally KeymanagerBootApplication service,request:http://localhost:8088/v1/keymanager/getCertificate?applicationId=test&referenceId=111,response 401,

Hi @moxq

Thanks for raising your request let me look into this why the 401 error is coming in the response.

Best Regards,
Team MOSIP

@moxq , Since this is an internal API, this will need an Authorization cookie with the allowed roles as per the roles listed in the kernel properties file for this API. You would need to get access to the one of the application client credentials, then authenticate with them in the authmanager, then get the cookie and use in the above request.

1 Like