Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. Example of WCF web service with https

Example of WCF web service with https

Scheduled Pinned Locked Moved WCF and WF
csharpwcftutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MKC002
    wrote on last edited by
    #1

    Is there any example to convert a WCF web service from http to https.

    M A 2 Replies Last reply
    0
    • M MKC002

      Is there any example to convert a WCF web service from http to https.

      M Offline
      M Offline
      Marco Bertschi
      wrote on last edited by
      #2

      Yes, there is an example on CP[^]

      1 Reply Last reply
      0
      • M MKC002

        Is there any example to convert a WCF web service from http to https.

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        You need a server certificate that needs to be installed along with the service. The service (or more generally) the application that you are using should be able to access this certificate. Once you've assigned the certificate, you should be able to consume the client. E.g. Seven simple steps to enable HTTPS on WCF WsHttp bindings[^] The binding needs to be changed to TransportModeWithCredentials and you may need to pass in the login credentials if required. However, these would depend on the service design. WCF – 2 Way SSL Security using Certificates[^] should also prove useful to you.

        WP Apps - Color Search | Arctic | XKCD | Sound Meter | Speed Dial

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups