ExAcme.Order (ExAcme v0.5.2)

View Source

Represents an ACME Order object.

Provides functionalities to fetch, finalize, and parse order details from the ACME server.

Attributes

  • url - The URL of the order.
  • status - The current status of the order.
  • expires - Expiration datetime of the order.
  • identifiers - List of domain identifiers associated with the order.
  • profile - The profile associated with the order.
  • not_before - Start datetime of the order's validity.
  • not_after - End datetime of the order's validity.
  • error - Any error associated with the order.
  • authorizations - List of authorization URLs.
  • finalize_url - URL to finalize the order.
  • certificate_url - URL to retrieve the issued certificate.

Summary

Types

t()

ACME Order object

Functions

Generates a Certificate Signing Request (CSR) from an order and a private key.

Types

t()

@type t() :: %ExAcme.Order{
  authorizations: [String.t()],
  certificate_url: String.t() | nil,
  error: map() | nil,
  expires: DateTime.t() | nil,
  finalize_url: String.t(),
  identifiers: [map()],
  not_after: DateTime.t() | nil,
  not_before: DateTime.t() | nil,
  profile: String.t(),
  status: String.t(),
  url: String.t()
}

ACME Order object

Functions

to_csr(order, private_key)

@spec to_csr(t(), X509.PrivateKey.t()) :: X509.CSR.t()

Generates a Certificate Signing Request (CSR) from an order and a private key.

Parameters

  • order - The ACME order.
  • private_key - The private key to sign the CSR and associate with the certificate.

Returns