Search code examples
.netwcfsslwcf-wshttpbinding

WCF - Message Based Security and SSL Accelerator


I'm using a WCF service currently that uses message-based security and is intended to be accessed over HTTP, rather than HTTPS.

This has been tested and works a treat. On deploying to a machine that uses an SSL accelerator I am getting the following error.

"An error occurred while receiving the HTTP response to http://.....svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details".

Is there a way to get message level security to work over https or are there known clashes with WCF and SSL accelerators


Solution

  • No You can not go for both Transport and Message Security mode.However you can try using TransportWithMessageCredential << Credentials are passed with the message and message protection and server authenticaion are provided by the transport layer.>>