You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: Server: How to Get a Certificate

To get a client certificate by thumbprint use GetCertificateOperation.

Syntax

public GetCertificateOperation(string thumbprint)

Parameters
thumbprint string Certificate thumbprint
Return Value
CertificateDefinition Certificate definition

Example

string thumbprint = "a909502dd82ae41433e6f83886b00d4277a32a7b";
CertificateDefinition definition = 
    store.Maintenance.Server.Send(new GetCertificateOperation(thumbprint));