After upgrade orchestrator is not responding due to "500 error"

After upgrade getting 500 error The metadataAddress or authority must use https unless disabled for development by setting Requiremetadata=false

After upgrade orchestrator is not working throws 500 error.

In event viewer we can see The metadataAddress or authority must use https unless disabled for development by setting Requiremetadata=false

This is due the URL with HTTP.

Update the URL's in web.config (if 2020.4) or UiPah.Orchestrator.dll (if above 2020.4) file and appsettings.production.json file in identity folder as HTTPS and save the configs.

Restart the IIS.