---
title: "Requests"
description: "Manage certificate sign requests and revoke requests in Alpacon Private SSL. Create, approve, or deny certificate operations with administrator oversight."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# 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](/use/private-ssl/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

| Code | Reason | Description |
|------|--------|-------------|
| 0 | Unspecified | No specific reason provided |
| 1 | Key compromise | The certificate's private key was compromised |
| 2 | CA compromise | The CA's private key was compromised |
| 3 | Affiliation changed | The subject's affiliation changed |
| 4 | Superseded | The certificate was replaced |
| 5 | Cessation of operation | The subject is no longer operating |
| 6 | Certificate hold | Temporarily suspended |
| 9 | Privilege withdrawn | The subject's privileges were revoked |
| 10 | AA compromise | The 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

| Status | Description |
|--------|-------------|
| **Requested** | Awaiting approval from a manager of the CA's server |
| **Signing** | Approved and being signed by the CA |
| **Signed** | Certificate has been issued |
| **Denied** | Request was rejected by a manager of the CA's server |
| **Canceled** | Request was canceled by the requester or a manager of the CA's server |
| **Failed** | An error occurred during signing |

### Revoke request statuses

| Status | Description |
|--------|-------------|
| **Requested** | Awaiting approval from a manager of the CA's server |
| **Revoking** | Approved and being processed |
| **Revoked** | Certificate has been revoked |
| **Denied** | Request was rejected by a manager of the CA's server |
| **Canceled** | Request was canceled by the requester or a manager of the CA's server |
| **Failed** | An 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

| Command | Description |
|---------|-------------|
| `alpacon csr ls` | List all sign requests |
| `alpacon csr describe CSR_ID` | View request details |
| `alpacon csr create` | Create a new sign request |
| `alpacon csr approve CSR_ID` | Approve a request |
| `alpacon csr deny CSR_ID` | Deny a request |
| `alpacon csr retry CSR_ID` | Retry a failed request |
| `alpacon csr delete CSR_ID` | Cancel a pending request |
| `alpacon csr download-crt CSR_ID` | Download the issued certificate |

### Revoke request commands

| Command | Description |
|---------|-------------|
| `alpacon revoke ls` | List all revoke requests |
| `alpacon revoke describe REVOCATION_ID` | View request details |
| `alpacon revoke create` | Create a new revoke request |
| `alpacon revoke approve REVOCATION_ID` | Approve a request |
| `alpacon revoke deny REVOCATION_ID` | Deny a request |
| `alpacon revoke retry REVOCATION_ID` | Retry a failed request |
| `alpacon revoke cancel REVOCATION_ID` | Cancel a pending request |

## Related topics

- [Certificates](/use/private-ssl/certificates/) - View issued certificates
- [Authorities](/use/private-ssl/authorities/) - Manage certificate authorities
- [CLI reference: alpacon csr](/reference/cli/csr/) - Full CSR command reference
- [CLI reference: alpacon revoke](/reference/cli/revoke/) - Full revoke command reference

Source: https://docs.alpacax.com/use/private-ssl/requests/
