I'm getting following error when run a bot in a schedule "Exception when calling CredentialsApi.GetCredentials: Error calling GetCredential with status Unauthorized: Unauthorized Access. Request must be HTTPS"
This forum has 36 topics, 136 replies, and was last updated 29 days ago by Rajeena Mashnampat
We have a security requirement in Server version 1.5.0 or higher. In order to be able to call the credential commands or use the Active Directory agent credentials (which happens when a job runs) you will need to use an https connection. Meaning, you will need to bind a certificate to your OpenBots Server. This was added as a safety measure, to ensure credentials are always shared through a secure protocol.
If you are enrolled to OpenBots Academy, you can access our guide on Self Signed Certification and binding. To Access it, please navigate to OpenBots Academy > OpenBots Setup and Configuration > Self-Signed Certification Creation and Binding for Sandbox Environment.
After binding your process, make sure to update the AppSettings server file located at: C:\Program Files (x86)\OpenBots Inc\OpenBots Server\appsettings.json. The WebAppURL should point to the newly binded url.
Restart your IIS service after the steps are completed.
You are not authorized to reply, please click here to login and add your reply to this topic.