An open API service indexing awesome lists of open source software.

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

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
```