# RemoteCertificateMode

Package: [Microsoft.Orleans.Core](/orleans/docs/api/csharp/microsoft.orleans.core/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core) | [Source](https://github.com/dotnet/orleans/blob/fbe240c34e9a1389ca5ab2d52f292ed8749ea530/src/Orleans.Core/Networking/Transport/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.
