Rajesh kumar’s Blog

If you have knowledge, let others light their candles at it.

Enable https on Silverlight application

Posted by Rajesh Kumar on June 18, 2010

The following steps can allow you to convert http based silverlight application to https:

Changes required in web.config at service side:

1. Replace “mexHttpBinding” with “mexHttpsBinding”.
2. Remove “identity” node from “endpoint”.
3. Replace “httpGetEnabled” with “httpsGetEnabled”.
4. Make sure that clientaccesspolicy and crossdomain files are at the root of the website.

Changes required in ServiceReferences.Clientconfig at client side:

1. Replace security mode “None” with “Transport”.
2. Point to right https URL.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: