Table of Contents

Class SelfSignedCertificate

Namespace
ArcanaDevelopment.adTempus.Shared
Assembly
ArcanaDevelopment.adTempus.Shared.dll

Creates self-signed certificates for securing adTempus endpoints.

public static class SelfSignedCertificate
Inheritance
object
SelfSignedCertificate

Methods

CreateForLocalComputer()

Creates a self-signed certificate for the local computer, with its private key persisted in the machine key store.

public static X509Certificate2 CreateForLocalComputer()

Returns

X509Certificate2

The new certificate.

Remarks

The certificate uses a 4096-bit RSA key, has the local computer's fully-qualified host name as its subject, and is valid from yesterday until 10 years from today. The certificate is not added to any certificate store; the caller is responsible for that.