After completing the installation and configuration of Workflow manager I try the register-spworkflowservice cmdlet:
Register-SPWorkflowService -SPSite "http://env-utv-sp/sites/selvbetjening" -WorkflowHostUri "http://env-utv-sp:12291/"
(Ive verified that all the urls are ok. )
However it returns:
Register-SPWorkflowService returns : The remote server returned an error: (404) Not Found.
The uls logs adds the following:
Attempting to download security token service json metadata from 'http://env-utv-sp:12291/$System/$Metadata/json/1'
An error occurred while downloading and parsing the json metadata document.
I found this blog entry