API Call Fails From Postman "You Are Not Authenticated! The Associated Certificate Has Expired."

Resolution when POST to Endpoint: /odata/Queues/UiPathODataSvc.AddQueueItem results in message: "You are not authenticated!" .

Issue Description: Executing correctly formatted POST to /odata/Queues/UiPathODataSvc.AddQueueItem API endpoint using Postman fails resulting in:

  • Response Message: You are not authenticated!
  • Response Details: You should be authenticated (sign in) in order to perform this operation. Azure Application Log: IDX10249: X509SecurityKey validation failed. The associated certificate has expired.


Root Cause: Mismatch of thumbprint between Private Key Certificate in TLS/SSL Settings and that in the Identity Server Configuration.

Resolution:

Update Value of the AppSettings_SigningCredentialSettings_StoreLocation_Name and WEBSITE_LOAD_CERTIFICATES Application Settings of Identity Server app service configuration with the thumbprint of a valid certificate. (Found in Private Key Certificates (.pfx) in the TLS/SSL Settings of the Identity App Service.