# urbestack-cert-renew

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-renew [--name DOMAIN] [--force]
```

## Description

Renews due TLS certificates for active domains in auto mode and obtains certificates for those that lack one. The command runs daily from urbestack-cert.timer. A certificate is due within ssl.renew_days of expiry. A failed attempt becomes eligible for retry after one hour.

Use --name to limit the run to one domain and --force to renew even when the certificate is outside the renewal window. The command reloads Apache once at the end.

## 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-issue](https://urbestack.com/docs/commands/urbestack-cert-issue.md): 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.
- [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).
