Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7637883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:02:25+00:00 2026-05-31T08:02:25+00:00

this is a very straightforward and easy question. So please give me an easy

  • 0

this is a very straightforward and easy question.
So please give me an easy answer(tutorial would be good)..
And not a very difficult expert anwswer(what I all the time find on google..)

So the question is:
1. How do you create a simple webservice that will be hosted by iis 7.5 and has SSL

  1. How do you create a simple webservice that will be hosted by console and has SSL

  2. If you create a client that use a SSL wcf host then you first need to select Yes or No, how can the computer automatically select YES?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:02:27+00:00Added an answer on May 31, 2026 at 8:02 am

    To configure IIS hosted WCF service work with SSL you need:
    1. Install Certificate
    2. Set SSL is required in your application settings in inetmgr.
    3. Configure security in WCF service settings. Here is an example of security settings of WCF service

      ...
      <service behaviorConfiguration="YourServiceBehavior" name="...">
      ...
     <behaviors>
      <serviceBehaviors>
        <behavior name="YourServiceBehavior">
          ...
          <serviceCredentials>
            <serviceCertificate findValue="CerttificateName" storeLocation="CertificateStoreLocation"
              storeName="CertificateStoreName" x509FindType="FindBySubjectName" />
          </serviceCredentials>
          ...
        </behavior>
      </serviceBehaviors>
    </behaviors>
    ...
    <bindings>
      <basicHttpBinding>
        <binding name="YourBindingName" ...>
        ...
          <security mode="TransportWithMessageCredential">
            <transport clientCredentialType="Basic" proxyCredentialType="None"/>
            <message clientCredentialType="UserName"/>
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    ...
    

    I don’t have an answer for you about console hosted WCF service and SSL.
    Also I’m not sure what do you mean when asking how can the computer automatically select yes. It seems you are talking about accept using of certificate considered as not valid. Line of code below should help to do that.

    ServicePointManager.ServerCertificateValidationCallback = delegate(object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have no idea why this is happening. I have some very straightforward code,
I have this very straight forward question regarding Thread and Timer classes in Java
Let's make this very easy. What I want: @array = qw/one two one/; my
Apologies or asking what is probably a very straightforward question, but I'm new to
Server controls like Image.ImageUrl make this very easy, but trying to achieve the same
I realize that this is a question that will probably not have a single
function classInfo(e){ document.getElementById('classRight').setAttribute('display','none'); alert(e); } I think this code is very straightforward bit it's
Having single edges originate from a Graphviz record field is very straightforward and easy
I have a really simple question that I cannot find a straightforward answer for.
Apologies if this is a very simple question; I don't use XSLT very much

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.