# Parallax local TLS renewal kit

Keep renewing an existing Let’s Encrypt certificate on your own Nginx server. Run the kit once to test renewal and check the existing Certbot systemd timer. Future renewals use the Certbot installation on that machine. You can remove this kit afterward. The MIT-licensed kit is free and requires no Parallax account, subscription, API key, or remote agent.

## Before you run it

Use a systemd Linux server you administer, with Python 3.7+, OpenSSL, Nginx and an existing package- or snap-installed Certbot. The kit supports `certbot.timer` and `snap.certbot.renew.timer`. Every certificate in `/etc/letsencrypt/renewal` must use Let’s Encrypt’s production CA and the Nginx authenticator and installer, with standard live certificate paths. Each certificate name must resolve via SNI on local Nginx port 443. The CA must be able to reach the HTTP challenge for each domain on port 80.

Check whether a hosting panel, cron script, external controller, container or another administrator already handles the same certificates. The kit looks for recognized systemd timers and certificate jobs in standard cron locations. An arbitrary wrapper or an external scheduler may be invisible from the machine. Resolve overlapping ownership before running setup. Keep the existing configuration backup and recovery procedure for your server.

A CDN or load balancer may serve a separate certificate at the public edge. DNS challenges, custom hooks, mixed Certbot plugins, custom CA accounts, alternate Nginx roots, container-owned certificates and external validation arrangements need individual configuration. The kit stops on unsupported local configurations it detects. It does not enroll new sites.

## Run once on the certificate host

Download the archive from Parallax, unpack it, and inspect the source before granting it administrator access.

```sh
tar -xzf renewal-kit.tar.gz
cd renewal-kit
sudo /usr/bin/python3 renewal-kit.py
```

The kit checks the installed timer and renewal configuration, validates the Nginx configuration and checks the leaf certificate Nginx serves on local HTTPS for the certificate’s DNS names. It then runs a Certbot staging renewal. Certbot contacts Let’s Encrypt, may create a local staging account, and temporarily updates and reloads Nginx to answer HTTP challenges. The test does not replace your production certificate. The kit rechecks the live certificate after the staging attempt. It enables the existing packaged timer if necessary and confirms a persistent, active timer with a next run.

If a check fails, read the message and Certbot’s local log, typically `/var/log/letsencrypt/letsencrypt.log`. The kit does not enable a timer after a failed dry run. An already-running schedule stays under its original owner. An enablement error may leave the vendor timer enabled or active; inspect it before rerunning setup. The kit creates no secondary timer or cron job. Re-running setup repeats the staging check.

## Check the schedule later

```sh
sudo /usr/bin/python3 renewal-kit.py --check-only
systemctl list-timers --all
```

Check-only inspects local configuration, the certificate currently served, and the next timer run. It does not request a staging certificate or change timer state. For a package installation, inspect renewal history with `journalctl -u certbot.service`. For a snap installation, use `journalctl -u snap.certbot.renew.service`.

Future production renewals depend on the server staying on, systemd and Certbot remaining installed, continued domain control, reachable validation endpoints, and an available certificate authority. On supported setups the Nginx installer takes care of the server reload when Certbot deploys a renewed certificate. Monitor renewal failures and certificate expiration through your usual operations tooling.

## Ownership and billing

The renewal configuration, certificate and private key stay on your server. Certbot communicates with the certificate authority for validation and issuance. The kit never asks for the private key or sends it to Parallax. Domain registration, hosting charges, third-party subscriptions, and existing certificate invoices are independent. The kit does not purchase or cancel any service.

[Certbot renewal documentation](https://eff-certbot.readthedocs.io/en/stable/using.html#renewing-certificates) · [Let’s Encrypt staging environment](https://letsencrypt.org/docs/staging-environment/) · [MIT license](LICENSE)
