# urbestack-cert-issue

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-cert-issue --name DOMAIN [--challenge auto|http|dns] [--job ID] [--force]
urbestack-cert-issue --panel [--job ID]
```

## Description

Obtains and installs a TLS certificate from the ACME directory configured in ssl.acme_directory, which defaults to Let's Encrypt at https://acme-v02.api.letsencrypt.org/directory. Accept the CA's terms in the web interface before requesting a certificate. If the domain uses a custom certificate, remove it with urbestack-cert-del first. If issuance fails, any existing certificate stays in service.

The request includes the domain, its aliases, www.domain if the www alias is enabled, and *.domain if wildcard coverage is enabled. Each requested name must reach this server, directly or through a proxy that forwards validation requests. If the primary name fails this check, issuance stops. Aliases that fail the check are omitted.

Use --challenge http for HTTP-01 over port 80, dns for DNS-01, or auto to let UrbeStack choose. A wildcard certificate requires DNS-01 and a DNS zone served by this server.

Use --panel to issue a certificate for the web interface hostname. Set panel.hostname to a publicly resolvable hostname that reaches this server. UrbeStack uses HTTP-01 and reloads nginx to serve the new certificate.

The job worker uses --job to pass the ID of an existing job. If you omit it, the command creates a job for the request.

## Same in the API

- [POST /domains/{name}/certificate](https://urbestack.com/docs/api/post-domains-name-certificate.md): Request a TLS certificate for a domain
- [POST /panel/certificate](https://urbestack.com/docs/api/post-panel-certificate.md): Request a TLS certificate for the UrbeStack web interface

## Command family: cert

- [urbestack-cert-custom-set](https://urbestack.com/docs/commands/urbestack-cert-custom-set.md): Installs a custom TLS certificate for a domain.
- [urbestack-cert-del](https://urbestack.com/docs/commands/urbestack-cert-del.md): Removes a domain's TLS certificate and private key, whether issued through UrbeStack or installed as a custom certificate.
- [urbestack-cert-list](https://urbestack.com/docs/commands/urbestack-cert-list.md): Lists the server's TLS certificates with their domains, owners, packages, and domain certificate modes (auto, none or custom).
- [urbestack-cert-renew](https://urbestack.com/docs/commands/urbestack-cert-renew.md): Renews due TLS certificates for active domains in auto mode and obtains certificates for those that lack one.
