Basically, you have to disable certificate checking for the RM application.
in that checker. You can make this part of your UILogon code.
"Teo Lachev" <teo.lachev@nospam.prologika.com> wrote in message
news:uWfcNndmEHA.512@TK2MSFTNGP10.phx.gbl...
> Terry,
>
> Check these threads:
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&q=%22The+underlying+connection+was+closed%3A+Could+not+establish+trust+relationship+%22&btnG=Search
>
> In addition, if you use client certificates review this:
>
> This article was previously published under Q318103
> SYMPTOMS
> Note The following .NET Framework Class Library namespaces are referenced
in
> this article:
>
> System.Web.Services
> System.Security.Cryptography.X509Certificates
>
> When you try to pass a client certificate from an ASP.NET page to a Web
> service that requires Secure Sockets Layer (SSL) and client certificates,
> you receive the following error message:
>
> 403 Access Denied
> CAUSE
> A certificate is associated with the user ID of the user who installed the
> certificate (this is the certificate user); therefore, the certificate is
> available only when that user profile is loaded. If no one is logged on to
> the computer, or if a user other than the certificate owner is logged on,
> the certificate is not accessible.
>
> If you access the Web service .asmx file from a browser that passes the
> certificates to you, you do not encounter this problem.
>
> The following ASP.NET code fails when calling SimpleServices, which
expects
> a client certificate:
> public void Submit_HelloWorldClick(Object sender, EventArgs E)
> {
> // Instantiate the proxy class for the web service
> SimpleService service = new SimpleService();
>
> // Pass in credentials using NTLM
> service.Credentials = CredentialCache.DefaultCredentials;
>
> // Load the client certificate from a file
> X509Certificate x509 =
> X509Certificate.CreateFromCertFile(@"c:\user_der.cer");
>
> service.ClientCertificates.Add(x509);
>
> // Call the service
> Result.Text = service.HelloWorld();
> }
> RESOLUTION
> To resolve this issue, invoke the Web service from a Serviced Component,
and
> use a Microsoft Windows service to automatically load the profile of the
> certificate user so that the Serviced Component can retrieve the client
> certificate and then communicate with the Web service over SSL.
> 1.. Create a Windows service program with only one function to run under
> the certificate user identity.
> 2.. Create a Serviced Component that runs under the identity of the
> certificate user.
> 3.. Move the authentication code from the ASP.NET application to the
> Serviced Component. Verify that the Serviced Component runs under the
> identity of the certificate user.
> 4.. Call the Serviced Component method from the ASP.NET Web application.
> STATUS
> This behavior is by design.
>
> --
> Hope this helps.
>
> -----------------------------------------------------
> Teo Lachev, MCSD, MCT
> Author: "Microsoft Reporting Services in Action"
> Publisher website:
http://www.manning.com/lachev > Buy it from Amazon.com:
http://shrinkster.com/eq > Home page and blog:
http://www.prologika.com/ > -----------------------------------------------------
>
> "Terry Romance" <tedgromance@yahoo.com> wrote in message
> news:f284ebe.0409131008.e9801ec@posting.google.com...
> > Teo,
> >
> > I hope you are still out there monitoring this thread. I'm
> > sorry, but we had another issue here that required my attention.
> >
> > I was finally able to try to code a small test application to
> > call LogonUser. The result is the same: "The underlying connection
> > was closed: Could not establish trust relationship with remote
> > server."
> >
> > We are currently stuck with switching back to the original config
> > files and Windows Authentication to access the Report Manager, and
> > then going back to our custom security when we are done, but this is
> > by no means a good long-term solution. At this point, I'll welcome
> > any suggestion or experiment to try.
> >
> > Thanks in advance.
> >
> > - Terry
> >
> > > "Teo Lachev" <teo@nospam.prologika.com> wrote in message
> news:<ekCmv1diEHA.3944@tk2msftngp13.phx.gbl>...
> > > > Terry,
> > > >
> > > > Yes, it should be https. I doubt that the problem is with the
> certificate.
> > > > What does navigating to https://machine_name/reportserver give you?
> > > >
> > > > In addition, according to your explanation this error only happens
> with the
> > > > Report Manager. Have you tried callling LogonUser from another
> application?
> > > > Is the call successful?
> > > > --
> > > > Hope this helps.
> > > >
> > > > ----------------------------------------------
> > > > Teo Lachev, MCSD, MCT
> > > > Author: "Microsoft Reporting Services in Action"
> > > >
http://www.manning.com/lachev > > > > Home page and blog
http://www.prologika.com > > > > ----------------------------------------------
> > > >
>
>