21 references to AllowCertificate
InMemory.FunctionalTests (4)
HttpsConnectionMiddlewareTests.cs (4)
230
ClientCertificateMode = ClientCertificateMode.
AllowCertificate
1162
[InlineData(ClientCertificateMode.
AllowCertificate
)]
1196
[InlineData(ClientCertificateMode.
AllowCertificate
)]
1222
[InlineData(ClientCertificateMode.
AllowCertificate
)]
Interop.FunctionalTests (4)
Http3\Http3TlsTests.cs (4)
74
[InlineData(ClientCertificateMode.
AllowCertificate
)]
161
[InlineData(ClientCertificateMode.
AllowCertificate
, false)]
162
[InlineData(ClientCertificateMode.
AllowCertificate
, true)]
233
httpsOptions.ClientCertificateMode = ClientCertificateMode.
AllowCertificate
;
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\SniOptionsSelector.cs (1)
87
sslOptions.ClientCertificateRequired = clientCertificateMode == ClientCertificateMode.
AllowCertificate
Middleware\HttpsConnectionMiddleware.cs (2)
341
ClientCertificateRequired = _options.ClientCertificateMode == ClientCertificateMode.
AllowCertificate
566
if (httpsOptions.ClientCertificateMode == ClientCertificateMode.
AllowCertificate
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
SniOptionsSelectorTests.cs (3)
755
ClientCertificateMode = ClientCertificateMode.
AllowCertificate
790
ClientCertificateMode = ClientCertificateMode.
AllowCertificate
797
Assert.Equal(ClientCertificateMode.
AllowCertificate
, certMode);
Microsoft.AspNetCore.Server.Kestrel.Tests (7)
ConfigurationReaderTests.cs (3)
187
Assert.Equal(ClientCertificateMode.
AllowCertificate
, end2.ClientCertificateMode);
336
Assert.Equal(ClientCertificateMode.
AllowCertificate
, config.ClientCertificateMode);
390
Assert.Equal(ClientCertificateMode.
AllowCertificate
, endpoint.ClientCertificateMode);
KestrelConfigurationLoaderTests.cs (4)
1330
Assert.Equal(ClientCertificateMode.
AllowCertificate
, opt.HttpsOptions.ClientCertificateMode);
1398
Assert.Equal(ClientCertificateMode.
AllowCertificate
, opt.HttpsOptions.ClientCertificateMode);
1425
Assert.Equal(ClientCertificateMode.
AllowCertificate
, opt.HttpsOptions.ClientCertificateMode);
1442
Assert.Equal(ClientCertificateMode.
AllowCertificate
, opt.ClientCertificateMode);