Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/7c/lefolder
Letsencrypt & Certbot folder API and CLI tool
https://github.com/7c/lefolder
Last synced: about 1 month ago
JSON representation
Letsencrypt & Certbot folder API and CLI tool
- Host: GitHub
- URL: https://github.com/7c/lefolder
- Owner: 7c
- Created: 2022-06-17T12:32:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T15:47:34.000Z (over 2 years ago)
- Last Synced: 2023-03-08T23:53:27.347Z (almost 2 years ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LetsEncrypt Folder Tool and API
## Install as CLI Tool
`npm i -g https://github.com/7c/lefolder`## Install for API
`npm i https://github.com/7c/lefolder`## CLI OPTIONS
```
lefolder
[--errors|--valids] : show only the one with errors/valids
[--json] : show output in json format, default plain
[[]] : show only certain domains
```### JSON FORMAT OUTPUT
```
{
source: '/etc/letsencrypt/renewal/7.xconfig.test.com.conf',
domains: [ '7.xconfig.test.com' ],
version: '0.40.0',
archive_dir: '/etc/letsencrypt/archive/7.xconfig.test.com',
files: {
cert: '/etc/letsencrypt/live/7.xconfig.test.com/cert.pem',
privkey: '/etc/letsencrypt/live/7.xconfig.test.com/privkey.pem',
chain: '/etc/letsencrypt/live/7.xconfig.test.com/chain.pem',
fullchain: '/etc/letsencrypt/live/7.xconfig.test.com/fullchain.pem'
},
expired: false,
cert: {
subject: '7.xconfig.test.com',
altnames: [ '7.xconfig.test.com' ],
_issuedAt: 2022-06-10T23:04:54.000Z,
_expiresAt: 2022-09-08T23:04:53.000Z,
issuedAt: 1654902294000,
expiresAt: 1662678293000
},
errors: []
}
```## API