https://github.com/icyleaf/acme-extractor
The best extract certificates tool from acme.json (traefik).
https://github.com/icyleaf/acme-extractor
Last synced: over 1 year ago
JSON representation
The best extract certificates tool from acme.json (traefik).
- Host: GitHub
- URL: https://github.com/icyleaf/acme-extractor
- Owner: icyleaf
- Created: 2022-10-19T04:01:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T14:53:40.000Z (over 2 years ago)
- Last Synced: 2025-02-10T01:15:02.527Z (over 1 year ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ACME Extractor
The best extract certificates tool from acme.json (traefik).
## Features
- Dump all domains without target it.
- Support pem/crt format.
- Watch file change to dump files.
- Docker ready.
## Usage
```
Usage: acme-extractor [options]
-f, --file FILE The path of amce.json
-o, --output PATH The path of write cert files (default path: .)
--format FORMAT Certificate storage format, avaiables in (default value: pem)
(pem/crt)
--watch Enable file change to extract cert files
--log-level LEVEL Set log level, avaiables in (default value: info)
(debug/info/warn/error)
-v, --version Show version
```
## Docker
```
docker run --rm \
-v /etc/traefik/certs/acme.json:/acme.json \
-v /etc/caddy/certs:/certs \
ghcr.io/icyleaf/acme-extractor \
-f /acme.json -o /certs --watch
```
## Output
All domain files storage as:
```
# pem format
/[output]/[domain]/certificate.pem
/[output]/[domain]/private_key.pem
# crt format
/[output]/[domain]/certificate.crt
/[output]/[domain]/private_key.crt
```