Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/aquaron/certbot

Get and renew Let's Encrypt wildcard certificates using Certbot.
https://github.com/aquaron/certbot

certbot certificate docker encrypt-wildcard-certificates

Last synced: about 6 hours ago
JSON representation

Get and renew Let's Encrypt wildcard certificates using Certbot.

Awesome Lists containing this project

README

        

# certbot
![Docker](https://github.com/aquaron/certbot/workflows/Docker/badge.svg)

Get and renew Let's Encrypt Wildcard Certificates using Certbot.

## `runme.sh`

| Command | Description |
| --------- | ------------------------------------------------ |
| -get | get LE's wildcard certficicates for `--host` |
| -single | get a single `--host` certificate |
| -renew | renew all existing expiring certificates |
| -revoke | revoke `--host` certificate |
| -delete | delete a certificate |
| -clean | remove all certificates |
| -test | use staging test server instead of production |
| -force | force get/renew even when cert not expired |
| -verbose | talkative mode |

| Option | Description |
| --------- | ------------------------------------------------ |
| --host | FQN of the host to get the wildcard certificate |
| --email | email for updates and expiry |
| --dns | dns-01 validation service |

### `-get`

Get new wildcard certificates including root.

Example:

runme.sh -get --host example.com --email [email protected] --dns google

`example.com` is the target to get Let's Encrypt certificate for.
Both `*.example.com` and `example.com` certificates are ordered.
`[email protected]` is your email address required by LE.

### `-renew`

Renews all certificates that are expiring.

### `-test`

Optional flag for getting certificates from staging server instead of production.

### `-revoke`

Revoke a certificate.

### `-clean`

Removes the `letsencrypt` directory. Use it with caution after test runs only.

### `-force`

Forces renewal or getting the certificate even when it is not expired.

### `-verbose`

Turn on more info output of the progress. Use this for debugging.

### `--dns`

Domain validation services. Currently supporting ony `google` and `digitalocean`.

### `--host`

Full qualify domain name of the host you want to get certificate for.
No need to specify the `*`.

### `--email`

Email is required for expiration notifications.

-------------------------------------------------------------------------------

# Usage Instruction

## Get Let's Encrypt Wildcard Certificate

docker run --rm -t -v :/data aquaron/certbot \
--email --host --dns -[get|revoke|renew] [-test]