I have a question around this, can I use a self-signed certificate on the webservice's hosted server?

I've got a test webservice hosted on a public IIS server, the workflow designer connects to it and I can configure the methods and resuts.

When the workflow runs the webservice activity fails with an error: unable to connect to remote server