Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 818 Bytes

File metadata and controls

32 lines (22 loc) · 818 Bytes

letsencrypt

Install Let's encrypt on a server

Asumption

This script assume you are using nginx as a reverse proxy, which is installed in /apps/nginx/ using docker compose with a compose.yaml file to manage your nginx instance. If this is not your case, you might have to change letsencrypt_renew.service accordingly.

Usage

  • create a new certificate
mkcert example.com www.example.com
  • delete a certificate
removecert example.com
  • list all certificates
certificates
  • renew all certificates This is done automatically on 1st and 15 of each month but you can force renew by running the following:
systemctl start letsencrypt_renew.service