Requests

The Requests page lets you manage certificate operations that require approval from a manager of the CA’s server. It has two tabs: Sign requests for new certificate issuance and Revoke requests for certificate revocation.

Requests list

Open the requests page in Private SSL to view all pending and processed requests.

Sign requests tab

This tab shows certificate signing requests (CSRs) submitted for approval.

The list shows:

  • Name: Common name with status badge (Requested, Signing, Signed, Denied, Canceled, Failed)
  • Authority: The CA that will sign the certificate
  • SAN: Subject Alternative Names
  • Valid for: Requested validity period
  • Administrator: The CA owner. Approval belongs to managers of the server that runs the CA; ownership of the CA alone does not grant that authority.
  • Requested by: Who submitted the request
  • Requested at: When the request was submitted
  • Requested IP: IP address of the requester

Revoke requests tab

This tab shows requests to revoke existing certificates.

The list shows:

  • Name: Certificate common name with status badge (Requested, Revoking, Revoked, Denied, Canceled, Failed)
  • Reason: Revocation reason
  • Requested by: Who submitted the request
  • Requested at: When the request was submitted

Who can act on a request

A manager of the CA’s server is an account with the admin role (Staff or Superuser), a maintainer of that server, or an owner or manager of a group the server belongs to.

  • Create a sign request: any signed-in user. A service token cannot create one.
  • Submit the CSR: the requester or a manager of the CA’s server, while the request is Requested.
  • Approve or deny: a manager of the CA’s server, while the request is pending.
  • Retry or mark failed: a manager of the CA’s server, while the request is being signed or revoked.
  • Cancel: the requester or a manager of the CA’s server, while the request is pending.
  • File a revoke request: the person who requested the certificate or a manager of the CA’s server.

Creating a sign request

Create a sign request from the CLI:

bash
alpacon csr create

This opens an interactive editor to configure the CSR settings.

The validity must be between 1 day and the CA’s maximum, shown under Child valid for on the Authorities page. A request that leaves the validity out uses the CA’s default. Alpacon refuses a request outside this range when it is created or changed, and checks again when it is approved, so a request that a later change to the CA’s maximum leaves out of range can’t be approved.

List all sign requests:

bash
alpacon csr ls

View details of a specific request:

bash
alpacon csr describe CSR_ID

Creating a revoke request

To revoke an existing certificate:

  1. Go to Certificates tab and find the certificate
  2. Click on the certificate and select Revoke
  3. Select a revocation reason
  4. Click Submit

Or from the CLI:

bash
alpacon revoke create --certificate CERT_ID --reason CODE

A certificate can have only one revoke request in progress at a time. While one is Requested or Revoking, a new request for the same certificate is refused. A request that was denied, canceled, or failed doesn’t block a new one.

Revocation reason codes

CodeReasonDescription
0UnspecifiedNo specific reason provided
1Key compromiseThe certificate’s private key was compromised
2CA compromiseThe CA’s private key was compromised
3Affiliation changedThe subject’s affiliation changed
4SupersededThe certificate was replaced
5Cessation of operationThe subject is no longer operating
6Certificate holdTemporarily suspended
9Privilege withdrawnThe subject’s privileges were revoked
10AA compromiseThe attribute authority was compromised

Request detail

Sign request detail

Opening a sign request shows: Authority, CA owner, Status, Valid for, Requested by, Requested at, Requested IP, and Handled at. Approved by appears once the request is signed; Denied by appears if it was denied.

The Subject alternative name (SAN) is shown as two separate lists—domain names and IP addresses. The CSR text is shown in full, and when the request is Signed, you can download the CSR as a .csr file.

Revoke request detail

Opening a revoke request shows: a link to the Certificate, the Reason (and an optional Detailed reason), Status, Requested by, Requested at, and Handled at. Approved by appears once revoked; Denied by appears if it was denied. If processing failed, an error banner explains why.

Approving requests

Sign requests

  1. Go to Requests → Sign requests
  2. Click on a pending request
  3. Review the request details
  4. Click Approve or Deny

When approved, the CA signs the request and issues the certificate.

Additional actions available from the web UI:

  • Cancel: The requester or a manager of the CA’s server can cancel while the status is Requested
  • Mark as failed and Retry: Managers of the CA’s server can use these actions while the status is Signing

CLI:

bash
alpacon csr approve CSR_ID
alpacon csr deny CSR_ID
alpacon csr delete CSR_ID

Revoke requests

  1. Go to Requests → Revoke requests
  2. Click on a pending request
  3. Review the revocation details
  4. Click Approve or Deny

When approved, the certificate is added to the CA’s CRL.

Additional actions available from the web UI:

  • Cancel: The requester or a manager of the CA’s server can cancel while the status is Requested
  • Mark as failed and Retry: Managers of the CA’s server can use these actions while the status is Revoking

CLI:

bash
alpacon revoke approve REVOCATION_ID
alpacon revoke deny REVOCATION_ID
alpacon revoke cancel REVOCATION_ID

Request statuses

Sign request statuses

StatusDescription
RequestedAwaiting approval from a manager of the CA’s server
SigningApproved and being signed by the CA
SignedCertificate has been issued
DeniedRequest was rejected by a manager of the CA’s server
CanceledRequest was canceled by the requester or a manager of the CA’s server
FailedAn error occurred during signing

Revoke request statuses

StatusDescription
RequestedAwaiting approval from a manager of the CA’s server
RevokingApproved and being processed
RevokedCertificate has been revoked
DeniedRequest was rejected by a manager of the CA’s server
CanceledRequest was canceled by the requester or a manager of the CA’s server
FailedAn error occurred during revocation

Retrying failed requests

If processing stops because of a temporary issue, a manager of the CA’s server can retry the request from the web UI or CLI. In the web UI, a Retry button appears when the request status is Signing or Revoking.

Sign requests:

bash
alpacon csr retry CSR_ID

Revoke requests:

bash
alpacon revoke retry REVOCATION_ID

Canceling requests

The requester or a manager of the CA’s server can cancel a request while it is pending. In the web UI, use Cancel while the status is Requested for a sign request or Requested for a revoke request.

Sign requests:

bash
alpacon csr delete CSR_ID

Revoke requests:

bash
alpacon revoke cancel REVOCATION_ID

CLI commands

Sign request commands

CommandDescription
alpacon csr lsList all sign requests
alpacon csr describe CSR_IDView request details
alpacon csr createCreate a new sign request
alpacon csr approve CSR_IDApprove a request
alpacon csr deny CSR_IDDeny a request
alpacon csr retry CSR_IDRetry a failed request
alpacon csr delete CSR_IDCancel a pending request
alpacon csr download-crt CSR_IDDownload the issued certificate

Revoke request commands

CommandDescription
alpacon revoke lsList all revoke requests
alpacon revoke describe REVOCATION_IDView request details
alpacon revoke createCreate a new revoke request
alpacon revoke approve REVOCATION_IDApprove a request
alpacon revoke deny REVOCATION_IDDeny a request
alpacon revoke retry REVOCATION_IDRetry a failed request
alpacon revoke cancel REVOCATION_IDCancel a pending request
Last updated: