16 writes to ClientCertificateRequired
Certificate.Optional.Sample (2)
Program.cs (2)
45ClientCertificateRequired = false 52ClientCertificateRequired = true,
InMemory.FunctionalTests (4)
HttpsConnectionMiddlewareTests.cs (4)
252ClientCertificateRequired = true, 668ClientCertificateRequired = false, 715ClientCertificateRequired = false, 830so.ClientCertificateRequired = true;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\SniOptionsSelector.cs (2)
87sslOptions.ClientCertificateRequired = clientCertificateMode == ClientCertificateMode.AllowCertificate 194ClientCertificateRequired = sslOptions.ClientCertificateRequired,
Middleware\HttpsConnectionMiddleware.cs (2)
341ClientCertificateRequired = _options.ClientCertificateMode == ClientCertificateMode.AllowCertificate 569sslServerAuthenticationOptions.ClientCertificateRequired = true; // We have to set this to prompt the client for a cert.
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
840ClientCertificateRequired = true,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicTestHelpers.cs (1)
88sslServerAuthenticationOptions.ClientCertificateRequired = clientCertificateRequired;
System.Net.Security (4)
System\Net\Security\SslStream.cs (4)
287ClientCertificateRequired = clientCertificateRequired, 357ClientCertificateRequired = clientCertificateRequired, 411ClientCertificateRequired = clientCertificateRequired, 424ClientCertificateRequired = clientCertificateRequired,
10 references to ClientCertificateRequired
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\SniOptionsSelector.cs (1)
194ClientCertificateRequired = sslOptions.ClientCertificateRequired,
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
SniOptionsSelectorTests.cs (5)
763Assert.False(options.ClientCertificateRequired); 799Assert.True(options.ClientCertificateRequired); 881Assert.Equal(options.ClientCertificateRequired, clonedOptions.ClientCertificateRequired); 882Assert.True(propertyNames.Remove(nameof(options.ClientCertificateRequired)));
System.Net.Quic (3)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
87if (authenticationOptions.ClientCertificateRequired)
System\Net\Quic\QuicConnection.cs (1)
470options.ServerAuthenticationOptions.ClientCertificateRequired,
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
36/// Always <c>true</c> for outbound/client connections. Configured for inbound/server ones via <see cref="SslServerAuthenticationOptions.ClientCertificateRequired"/>.
System.Net.Security (1)
System\Net\Security\SslAuthenticationOptions.cs (1)
110RemoteCertRequired = sslServerAuthenticationOptions.ClientCertificateRequired;