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 9052889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:17:27+00:00 2026-06-16T13:17:27+00:00

While trying to set up an SslStream , the example has a call in

  • 0

While trying to set up an SslStream, the example has a call in the client:

sslStream.AuthenticateAsClient(targetHost);

For AuthenticateAsClient, the documentation states “The value specified for targetHost must match the name on the server's certificate.“

How can I find the targetHost of my x509 certificate?

  • 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-06-16T13:17:29+00:00Added an answer on June 16, 2026 at 1:17 pm

    The rules vary slightly depending on the protocol. Cross-protocol harmonisation efforts have been made in RFC 6125: Representation and Verification of Domain-Based Application Service Identity within Internet Public Key Infrastructure Using X.509 (PKIX) Certificates in the Context of Transport Layer Security (TLS).

    This being said, the RFC 6125 guidelines (meant to be applicable to any protocol that uses SSL/TLS) are more or less the same as those for HTTPS, which are defined in RFC 2818 (HTTP over TLS), Section 3.1.

    In short, if the certificate has Subject Alternative Name (SAN) extensions of DNS type, one of them must be the target host name you’re trying to connect to. When there are no such extensions, you must look into the Subject DN of the certificate and find the Common Name (CN) RDN: it must match the target host name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For while I have been trying to set the Page Scaling of Excel page
I'm trying to set up a while loop that will ask the user for
I'm trying to set up a while loop that inserts multiple rows into a
I am currently trying to set up a new visual studio 2008 solution while
I stumbled on a very odd problem while trying to set up a JMenuBar
I have a little problem while trying to implement a container, Set, based on
I am getting an error while trying to set these cookies through a foreach
I recently encountered some problems while trying to sort a set of objects. The
While trying to use Facebook's mobile authentication, I realized that they don't set any
While trying to debug a Phonegap error message (Call to OpenGL ES api with

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.