Security (TLS)
Security (TLS)
Wired.IO supports out of the box secure endpoints.
Visit SslServerAuthenticationOptions Class for detailed documentation.
( ... )
var app = builder
.UseTls(new SslServerAuthenticationOptions
{
// Define your SSL options here
// Such as load server certificate,
// Load CA certificate,
// RemoteCertificateValidationCallback for mutual TLS, etc.
})
( ... )