Sharepoint 2013 Workflow error for https registration RRS feed

  • Question

  • i have created host header site collection .Both sitecollection and Workflow are on same server

    so i am trying to register workflow for https sitecollection 

    Register-SPWorkflowService -SPSite "https://abc.dev1.sharepoint.net" -WorkflowHostUri "https://abc1432:12290" 

    getting error  "the root of the certificate chain is not a trusted root authority"

    even though i have exported certificate from Workflow IIS web site and added under share point trust entry list

    getting error : 

    Failed to query the OAuth S2S metadata endpoint at URI 
    'https://abc.dev1.sharepoint.net/_layouts/15/metadata/json/1'. Error details: 'An error occurred while sending the request.'. HTTP

     eaders received from the server - ActivityId: f1302f72-41d7-4b70-98df-b8ae2bcc3f3b.

    Tuesday, March 31, 2015 10:12 AM