none
Trouble with WCF using SSL on IIS RRS feed

  • Question

  • We have a web server setup on an Azure VM. Not getting anywhere with our 3rd party software company that supplies a webstore/site for our company. Our test environment was working just fine; however, when we switched over to production, our Admin setup SSL for production and now I can't test the web services setup on production offered by the 3rd party software.

    I modified the URL for the web access to the service to reference https://oursite/3rdPartyApp/ContractService.svc?singleWsdl and I can get the page to show the standard test service stuff.  Including the url to access the service description details.  However, the url doesn't have https, it only has http.  when it is clicked on, the resulting page is error 403 and not the description details you might expect.

    I looked at the web.config file for the 3rd party app, and I don't see where they reference any https security Transport.  I am pretty sure this and other settings are needed, but I am not sure.  the protocol setup is wsHttpBinding so it already has some security.  I just cant' navigate to the service description details nor can I add a reference to the service from a Visual Studio project.

    Suggestions?

    WB

    Monday, January 11, 2016 10:56 PM

Answers

  • Hi n2teeth,

    According to this case, in my understanding is that you enter the http URL and get the

    default page show the service create successfully, and it has a https URL, and you clicked on

    this Url, you get the 403 error. right? Like below:

    If so, please make sure the following note has added in your web.config file.

    <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"></endpoint>

    And make sure the httpsGetEnable= true.

    <serviceMetadata  httpsGetEnabled="true"/>

    If I miss understanding your question, please let me know.

    Best Regards,

    Wanjun Dong


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


    Tuesday, January 12, 2016 8:37 AM
    Moderator