https://github.com/thor77/letsencrypt
My personal Let's Encrypt setup
https://github.com/thor77/letsencrypt
Last synced: 11 months ago
JSON representation
My personal Let's Encrypt setup
- Host: GitHub
- URL: https://github.com/thor77/letsencrypt
- Owner: Thor77
- Created: 2016-10-22T20:10:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T20:30:52.000Z (almost 9 years ago)
- Last Synced: 2025-05-30T17:49:53.317Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
My Let's Encrypt setup
======================
## Assumptions
* OS using systemd as init-system
* [`simp_le`](https://github.com/zenhack/simp_le) in `$PATH` (e.g installed via [`simp_le-git`](https://aur.archlinux.org/packages/simp_le-git/) from the AUR)
* `account_key.json` (`private_key.json` from [certbot](https://certbot.eff.org/)) in `/etc/letsencrypt/`
## Installation
* Copy `certrenew` to `/usr/local/bin/certrenew`
* Copy `letsencrypt@.{service,timer}` to `/etc/systemd/system/`
* Edit `EMAIL` and `WEBROOT` in `/usr/local/bin/certrenew`
## Usage
Obtaining a certificate for a new domain
```
systemctl start letsencrypt@
```
Your cert-data (`fullchain.pem` and `key.pem` by default) is located in `/etc/letsencrypt//`
Activating renewal for a new domain
```
systemctl start letsencrypt@.timer
systemctl enable letsencrypt@.timer
```