Professional Web Applications Themes

Cannot access web service on secure web site - ASP.NET Web Services

I am getting the error below when SSL is enable on our web server. If I turn SSL off, then it works fine. I searched Google and find several references to client certificates, but we are not using them. Any help is greatly appreciated. "The underlying connection was closed: Could not establish trust relationship with remote server. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The underlying connection was closed: Could not establish trust ...

  1. #1

    Default Cannot access web service on secure web site

    I am getting the error below when SSL is enable on our web server. If I
    turn SSL off, then it works fine. I searched Google and find several
    references to client certificates, but we are not using them. Any help is
    greatly appreciated.


    "The underlying connection was closed: Could not establish trust
    relationship with remote server.
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.Net.WebException: The underlying connection was
    closed: Could not establish trust relationship with remote server.

    Source Error:


    Line 36:
    [System.Web.Services.Protocols.SoapDoentMethodAt tribute("https://server/s
    t/WebServices/PhoneFind/GetService",
    RequestNamespace="https://server/st/WebServices/PhoneFind/",
    ResponseNamespace="https://server/st/WebServices/PhoneFind/",
    Use=System.Web.Services.Description.SoapBindingUse .Literal,
    ParameterStyle=System.Web.Services.Protocols.SoapP arameterStyle.Wrapped)]
    Line 37: public object[] GetService() {
    Line 38: object[] results = this.Invoke("GetService", new
    object[0]);
    Line 39: return ((object[])(results[0]));
    Line 40: }


    Source File: \\server\wwwroot$\site\Web
    References\com.server.www\Reference.cs Line: 38 "


    Chris Clement Guest

  2. #2

    Default Re: Cannot access web service on secure web site

    What is the URL that the proxy is using to connect to the web service?

    "Chris Clement" <chris.clementgunter.af.mil> wrote in message
    news:eFEQKeEYDHA.2328TK2MSFTNGP12.phx.gbl...
    > I am getting the error below when SSL is enable on our web server. If I
    > turn SSL off, then it works fine. I searched Google and find several
    > references to client certificates, but we are not using them. Any help is
    > greatly appreciated.
    >
    >
    > "The underlying connection was closed: Could not establish trust
    > relationship with remote server.
    > Description: An unhandled exception occurred during the execution of the
    > current web request. Please review the stack trace for more information
    > about the error and where it originated in the code.
    >
    > Exception Details: System.Net.WebException: The underlying connection was
    > closed: Could not establish trust relationship with remote server.
    >
    > Source Error:
    >
    >
    > Line 36:
    >
    [System.Web.Services.Protocols.SoapDoentMethodAt tribute("https://server/s
    > t/WebServices/PhoneFind/GetService",
    > RequestNamespace="https://server/st/WebServices/PhoneFind/",
    > ResponseNamespace="https://server/st/WebServices/PhoneFind/",
    > Use=System.Web.Services.Description.SoapBindingUse .Literal,
    > ParameterStyle=System.Web.Services.Protocols.SoapP arameterStyle.Wrapped)]
    > Line 37: public object[] GetService() {
    > Line 38: object[] results = this.Invoke("GetService", new
    > object[0]);
    > Line 39: return ((object[])(results[0]));
    > Line 40: }
    >
    >
    > Source File: \\server\wwwroot$\site\Web
    > References\com.server.www\Reference.cs Line: 38 "
    >
    >

    Marina Guest

  3. #3

    Default Re: Cannot access web service on secure web site

    Just our internal proxy address that we use. Why?



    "Marina" <zlatkinamnospam.hotmail.com> wrote in message
    news:%23ksYRyEYDHA.2632TK2MSFTNGP09.phx.gbl...
    > What is the URL that the proxy is using to connect to the web service?
    >
    > "Chris Clement" <chris.clementgunter.af.mil> wrote in message
    > news:eFEQKeEYDHA.2328TK2MSFTNGP12.phx.gbl...
    > > I am getting the error below when SSL is enable on our web server. If I
    > > turn SSL off, then it works fine. I searched Google and find several
    > > references to client certificates, but we are not using them. Any help
    is
    > > greatly appreciated.
    > >
    > >
    > > "The underlying connection was closed: Could not establish trust
    > > relationship with remote server.
    > > Description: An unhandled exception occurred during the execution of the
    > > current web request. Please review the stack trace for more information
    > > about the error and where it originated in the code.
    > >
    > > Exception Details: System.Net.WebException: The underlying connection
    was
    > > closed: Could not establish trust relationship with remote server.
    > >
    > > Source Error:
    > >
    > >
    > > Line 36:
    > >
    >
    [System.Web.Services.Protocols.SoapDoentMethodAt tribute("https://server/s
    > > t/WebServices/PhoneFind/GetService",
    > > RequestNamespace="https://server/st/WebServices/PhoneFind/",
    > > ResponseNamespace="https://server/st/WebServices/PhoneFind/",
    > > Use=System.Web.Services.Description.SoapBindingUse .Literal,
    > >
    ParameterStyle=System.Web.Services.Protocols.SoapP arameterStyle.Wrapped)]
    > > Line 37: public object[] GetService() {
    > > Line 38: object[] results = this.Invoke("GetService", new
    > > object[0]);
    > > Line 39: return ((object[])(results[0]));
    > > Line 40: }
    > >
    > >
    > > Source File: \\server\wwwroot$\site\Web
    > > References\com.server.www\Reference.cs Line: 38 "
    > >
    > >
    >
    >

    Chris Clement Guest

Similar Threads

  1. Access to secure site using contribute key
    By katiel in forum Macromedia Contribute Connection Administrtion
    Replies: 0
    Last Post: April 26th, 03:14 PM
  2. secure intranet site with non secure sites?
    By wally in forum Windows Server
    Replies: 0
    Last Post: June 7th, 03:19 PM
  3. how to secure a web site ?
    By Fx in forum PHP Development
    Replies: 0
    Last Post: July 10th, 08:44 PM
  4. Secure Site Access - Solution
    By Sheri in forum Windows Setup, Administration & Security
    Replies: 0
    Last Post: July 7th, 01:04 AM
  5. Secure site access
    By Sheri in forum Windows Setup, Administration & Security
    Replies: 5
    Last Post: July 6th, 06:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139