traefik-certificate-explorer
所属分类:CA认证
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-10-27 01:46:41
上 传 者:
sh-1993
说明: 缺少的traefik允许加密证书存储导出器资源管理器,
(The missing traefik lets encrypt certificate store exporter explorer,)
文件列表:
.dockerignore (19, 2023-10-26)
.prettierrc (48, 2023-10-26)
.yarn/ (0, 2023-10-26)
.yarn/releases/ (0, 2023-10-26)
.yarn/releases/yarn-berry.cjs (1980728, 2023-10-26)
.yarnrc.yml (115, 2023-10-26)
Dockerfile (522, 2023-10-26)
docker-entrypoint.sh (65, 2023-10-26)
docs/ (0, 2023-10-26)
docs/screens/ (0, 2023-10-26)
docs/screens/index.png (195775, 2023-10-26)
docs/screens/inspect.png (121358, 2023-10-26)
package.json (717, 2023-10-26)
public/ (0, 2023-10-26)
public/bootstrap.min.css (162764, 2023-10-26)
renovate.json (554, 2023-10-26)
src/ (0, 2023-10-26)
src/index.ts (6279, 2023-10-26)
src/store/ (0, 2023-10-26)
src/store/decoders.ts (1151, 2023-10-26)
src/store/index.ts (1112, 2023-10-26)
tsconfig.json (134, 2023-10-26)
views/ (0, 2023-10-26)
views/index.pug (1033, 2023-10-26)
views/inspect.pug (4154, 2023-10-26)
views/layout.pug (347, 2023-10-26)
yarn.lock (41720, 2023-10-26)
## Traefik v2 Certificate (let's encrypt) Explorer
Traefik has a nice feature of
[generating certificates for the host on the fly using lets encrypt](https://doc.traefik.io/traefik/https/acme/).
All the generated certificates are stored in `acme.json` format. This app uses
(only reads) that file to provide a visual representation of the certificates &
private keys and provides an easy way to inspect and export a PEM format for use
in other paces.
**HINT**: Sending `Accept: application/json` header will return `JSON`
representation of the page.
## Quick Start
```shell
$ docker run -p 8884:8884 -v /path/to/your/acme.json:/data/acme.json hertzg/traefik-certificate-explorer
```
UI/UX is very rough, just enough to be usable for now (PRs are welcome).
![Screenshot of the index page with all certificates](docs/screens/index.png?raw=true)
## JSON responses
To receive a JSON response you use the same URL's while browsing, but send
`Accept: application/json` header.
```shell
hertz@potato:~$ curl -H "Accept: application/json" -vvv http://localhost:8884/
> GET / HTTP/1.1
> Host: localhost:8884
> User-Agent: curl/7.68.0
> Accept: application/json
>
< HTTP/1.1 200 OK
< X-Powered-By: Express
< Vary: Accept
< Content-Type: application/json; charset=utf-8
< Content-Length: 19757
< Date: Wed, 29 Sep 2021 00:16:34 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
# .. body containing JSON ..
```
近期下载者:
相关文件:
收藏者: