I have an ASP.NET Core 2.0 REST server running fine, but I need to restrict access to TLS1.2 - how do I do this? Can't seem to find any documentation on it. Server is running on Kestrel. Thanks!
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Carriage Return (ASCII chr 13) is missing from tex
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
.net core 2.1 Kestrel config:
There's a
UseHttps
overload that allows you to provide aHttpsConnectionAdapterOptions
instance to configure this. Here's an example of what this might look like in your case:For reference,
SslProtocols
defaults toSslProtocols.Tls12 | SslProtocols.Tls11
.