Skip to content

OrleansConnectionSecurityHostingExtensions.UseTls(ISiloBuilder, StoreName, string, bool, StoreLocation, Action<TlsOptions>)

UseTls(ISiloBuilder, StoreName, string, bool, StoreLocation, Action<TlsOptions>)

staticextension
View source
public static ISiloBuilder UseTls(this ISiloBuilder builder, StoreName storeName, string subject, bool allowInvalid, StoreLocation location, Action<TlsOptions> configureOptions)
Configures TLS.

Parameters

builderISiloBuilder
The builder to configure.
storeNameStoreName
The certificate store to load the certificate from.
subjectstring
The subject name for the certificate to load.
allowInvalidbool
Indicates if invalid certificates should be considered, such as self-signed certificates.
locationStoreLocation
The store location to load the certificate from.
configureOptionsAction<TlsOptions>
An Action to configure the TlsOptions.

Returns

The builder.