ListenOptionsHttpsExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for ListenOptions that configure Kestrel to use HTTPS for a given endpoint.
In this article
public ref class ListenOptionsHttpsExtensions abstract sealed
public static class ListenOptionsHttpsExtensions
type ListenOptionsHttpsExtensions = class
Public Module ListenOptionsHttpsExtensions
Inheritance
ListenOptionsHttpsExtensions
Methods
UseHttps(ListenOptions)
Configure Kestrel to use HTTPS with the default certificate if available.
This will throw if no default certificate is configured.
UseHttps(ListenOptions, Action<HttpsConnectionAdapterOptions>)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, HttpsConnectionAdapterOptions)
Configure Kestrel to use HTTPS. This does not use default certificates or other defaults specified via config or
ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>) .
UseHttps(ListenOptions, ServerOptionsSelectionCallback, Object)
Configure Kestrel to use HTTPS. This does not use default certificates or other defaults specified via config or
ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>) .
UseHttps(ListenOptions, ServerOptionsSelectionCallback, Object, TimeSpan)
Configure Kestrel to use HTTPS. This does not use default certificates or other defaults specified via config or
ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>) .
UseHttps(ListenOptions, StoreName, String)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, StoreName, String, Boolean)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, StoreName, String, Boolean, StoreLocation)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, StoreName, String, Boolean, StoreLocation, Action<HttpsConnectionAdapterOptions>)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, String)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, String, String)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, String, String, Action<HttpsConnectionAdapterOptions>)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, TlsHandshakeCallbackOptions)
Configure Kestrel to use HTTPS. This does not use default certificates or other defaults specified via config or
ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>) .
UseHttps(ListenOptions, X509Certificate2)
Configure Kestrel to use HTTPS.
UseHttps(ListenOptions, X509Certificate2, Action<HttpsConnectionAdapterOptions>)
Configure Kestrel to use HTTPS.
Applies to