When using the ASP.NET Role Provider with a Service over http, the user credentials would be transmitted to the server in plain text. In this situation it is a requirement that you configure the server to use an X.509 certificate to ensure that this information is encrypted. The section Working with Certificates provides more information on certificate configuration.