# RemoteCertificateMode

Package: [Microsoft.Orleans.Connections.Security](/orleans/docs/api/csharp/microsoft.orleans.connections.security/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Connections.Security) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Connections.Security/Security/RemoteCertificateMode.cs#L6)

```csharp
public enum RemoteCertificateMode
```

Describes the remote certificate requirements for a TLS connection.

## Fields

- `NoCertificate` = `0` - A remote certificate is not required and will not be requested from remote endpoints.
- `AllowCertificate` = `1` - A remote certificate will be requested; however, authentication will not fail if a certificate is not provided by the remote endpoint.
- `RequireCertificate` = `2` - A remote certificate will be requested, and the remote endpoint must provide a valid certificate for authentication.
