Can Mutual TLS (MTLS) co-exists with Non-Mutual TLS ( any other way of Authentication but not Anonymous) ?

Piyush Meshram 136 Reputation points
2021-07-29T04:33:26.337+00:00

IIS hosted website is using IISClientCertificateMapping Authentication (MTLS).

Requirement is Allow a special user who could not provide any Client Certificates.

  1. How such special user can access the website?
  2. What if the only way to identify such user is by user's IP address.
Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce Zhang-MSFT 3,736 Reputation points
    2021-07-29T09:37:50.567+00:00

    Hi @Piyush Meshram ,

    TLS(MTLS) and Authentication are not same thing. TLS occurs in the process of establishing a connection between the client and the server. Because before the connection is established, the two will exchange data and keys with each other. Then calculate to determine whether the other party is safe. This process is called a TLS handshake.

    The Authentication in IIS, such as anonymous authentication, Windows authentication. All are based on successfully establishing a connection between the client and the server, and then verify the user's identity. Not the client.

    So if the client cannot provide a certificate, it cannot establish a connection with the server during the TLS handshake.

    1. The client device cannot connect to the server, and the user cannot access the sites.
    2. Similarly, IIS's denial and permission of IP also need to be based on the connection.

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    0 comments No comments

0 additional answers

Sort by: Most helpful