Skip to content

Commit 0506325

Browse files
committed
Move it, move it
1 parent 80b7dc7 commit 0506325

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Servers/Kestrel/Core/src/KestrelConfigurationLoader.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,11 @@ public void Load()
289289
httpsOptions.SslProtocols = endpoint.SslProtocols.Value;
290290
}
291291

292+
httpsOptions.ClientCertificateMode = ConfigurationReader.ClientCertificateMode ?? httpsOptions.ClientCertificateMode;
293+
292294
// Specified
293295
httpsOptions.ServerCertificate = LoadCertificate(endpoint.Certificate, endpoint.Name)
294-
?? httpsOptions.ServerCertificate;
295-
296-
httpsOptions.ClientCertificateMode = ConfigurationReader.ClientCertificateMode ?? httpsOptions.ClientCertificateMode;
296+
?? httpsOptions.ServerCertificate;
297297

298298
if (httpsOptions.ServerCertificate == null && httpsOptions.ServerCertificateSelector == null)
299299
{

0 commit comments

Comments
 (0)