Csla.Server.Hosts.RemotingPortal and SSL

Csla.Server.Hosts.RemotingPortal and SSL

Old forum URL: forums.lhotka.net/forums/t/4352.aspx


Cronny posted on Friday, February 15, 2008

I've recently changed one of my projects to use Csla.Server.Hosts.RemotingPortal, instead of the default client side dataportal.
Everything is working 100% in the test environment with no SSL.
As soon as I try to test the program with SSL enabled in IIS and changed the CslaDataPortalUrl in the app.config file, I get the following exception being thrown.
---------------------------------------------------------------
System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
---------------------------------------------------------------
this is the first time i'm setting up a SSL enabled website. I've created a "Self-signed certificate" and associated it with the website i'm using to for the RemotingPortal.
When I check the site in the web browser using "https://192.168.10.104/RemotingPortal.rem?wsdl" it returns the excepted results.

Can anyone point me in the right direction. I'm pretty sure i'm missing something small (i hope)

Copyright (c) Marimer LLC