I installed and configured Workflow Manager on SharePoint Server 2013 server (Windows Server 2008 R2).
When I run Register-SPWorkflowService –SPSite “<site collection url>” –WorkflowHostUri "<workflow manager site>" I get the following error message:
The remote server returned an error: (401) Unauthorized.
Workflow manager site works fine. The XML file is displayed correctly in browser with both HTTP and HTTPS protocols.
The HTTPS certificate is trusted.
SharePoint Server and Workflow Managerare installed on the same server.