Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a silverlight app that is connecting to a WCF self hosted service. Originally it was just using HTTP and it worked fine in and out of browser. I recently added Transport security for SSL and it its using a self signed certicate created by makecert. The CA is added to my trusted CA's list. The application works fine in browser; however, out of browser it does not appear to be working at all. It seems to be having issues negotiating the SSL connection.

Any ideas??
Posted

 
Share this answer
 
Comments
spyterweb 14-Sep-12 10:48am    
Thanks for the reply. I already came across that site earlier. I am not using IIS, it is a self hosted WCF service and I already got SSL set up and working in browser mode. The issue I am having is out of browser mode does not seem to support SSL. I am new to silverlight and I have been posting everywhere trying to get some info on this, so far no luck..
Sandeep Mewara 14-Sep-12 12:33pm    
What do you mean by 'self hosted WCF'?

Working in browser does not mean confirm the application is working properly until deployed and tried. Local webserver settings and original webserver like IIS differs a little.

I would sugest you to deploy your app on IIS and then try out.
spyterweb 14-Sep-12 12:43pm    
By self hosted, I mean the service is being installed using the installutil as an actual "windows service" and it is not being hosted through IIS. When creating a wcf service, you have the option to host it via IIS or "self host" it as a windows service that runs on a specified port and is accessible.
Sandeep Mewara 14-Sep-12 12:56pm    
Dude, WCF hosted as Windows Service? You sure what you saying?
spyterweb 14-Sep-12 12:56pm    
Basically the service is working in SSL and i can hit it in the browser. The silverlight application can hit it as well when its being ran "in browser", but when I try to run the silverlight application in "out of browser mode" it cannot access the service. silverlight uses a different http stack for oob mode vs in browser mode so my question is - Does silverlight support https in oob mode.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900