Certificates

{#if problem} (problem = null)}>{#snippet title()}{problem}{/snippet}{/if} {#if certs}

Domi intermediate

{#if certs.intermediate?.not_after}expires {shortDate(certs.intermediate.not_after)}{/if}

Root stays offline ({certs.root.subject}, until {shortDate(certs.root.not_after)}).

Devices

{#if certs.devices.length === 0}

No device certificates yet

A device certificate lets a phone, computer or Domi app into hosts that ask for one.

{:else} {/if} {/if} {#if newDevice} {#if !request}

{#if capped}Valid until {until}, when the Domi intermediate certificate ends (renew it to issue for a full year).{:else}Valid for {lifetime} days, until {until}.{/if} It lets this device into hosts that ask for a Domi device certificate.

{:else if request.state === "waiting"}

Waiting for approval

Custos cannot approve device certificates yet, so approve it on the server, and only if it shows the same code:

{request.match_code}

{#if request.approve_command}

Run on the server:

{request.approve_command}
{/if}

The request stays open for 10 minutes ({Math.floor(secondsLeft(request.expires_at) / 60)}:{String(secondsLeft(request.expires_at) % 60).padStart(2, "0")} left). Nothing is issued until it is approved.

Waiting for approval. Code {request.match_code}. {:else if issuedDevice} {#snippet title()}{issuedDevice.name} has a certificate. Approved {atTime(request?.approved_at, app.now)}.{/snippet}

The file is protected with a one-time password shown next to the QR code.

{:else} {#snippet title()}{request?.message}{/snippet} {#snippet actions()}{/snippet} {/if} {#snippet footer()} {#if !request} {:else if request.state !== "waiting"} {/if} {/snippet}
{/if} {#if bundle} { bundle = null; void refresh(); }}>
{#if bundle.b.qr_svg} {/if}

Password for the file

{bundle.b.one_time_password}

Works once, for 10 minutes ({Math.floor(secondsLeft(bundle.b.expires_at) / 60)}:{String(secondsLeft(bundle.b.expires_at) % 60).padStart(2, "0")} left).

{#if bundle.device.kind === "computer"}Open the downloaded file and enter the password when it asks. {:else if bundle.device.kind === "app"}In the app, choose Import certificate, pick the file, and enter the password. {:else}Scan the code with the device's camera, open the link, and enter the password when it asks. Then allow the certificate in the device's settings.{/if}

{/if}