Monday, October 8, 2012

SP2013 - Register-SPWorkflowService error

If you're trying to install Windows Azure Workflow for Sharepoint 2013 Preview you can expect to get tons of possible errors.

Today, I'm going to cover only the one which I encountered during my install (all others I had are already documented on web :)  ).

Let's say that you successfully installed Windows Azure Workflow (if you haven't, you can follow tutorial from sharepointassist web page.

At the end of installation, you just need to register Azure Workflow for your SPSite in Management Shell (last step in tutorial). 

If you encouter following error: "Register-SPWorkflowService : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."





Just change ports, so you don't use https. Change your command from:

Register-SPWorkflowService –SPSite "http:localhost/yourSite" –WorkflowHostUri "https:localhost:12290" –AllowOAuthHttp

to:

Register-SPWorkflowService –SPSite "http:localhost/yourSite" –WorkflowHostUri "http:localhost:12291" –AllowOAuthHttp 

And now it should be ok.


2 comments: