Skip to content
Snippets Groups Projects
README.md 2.15 KiB
Newer Older
Max Adamo's avatar
Max Adamo committed
# acme-downloader
Max Adamo's avatar
Max Adamo committed

1. [usage](#usage)
1. [compatibility](#compatibility)
1. [build](#build)

Max Adamo's avatar
Max Adamo committed
Fetches and stores a given Certificate, Full Chain, CA and Private Keynodes
Max Adamo's avatar
Max Adamo committed

Max Adamo's avatar
Max Adamo committed
It is meant to be used in conjunction with Geant ACME infrastructure
Max Adamo's avatar
Max Adamo committed

Max Adamo's avatar
Max Adamo committed
## usage
Max Adamo's avatar
Max Adamo committed

Max Adamo's avatar
Max Adamo committed
you can use the tool as following:
Max Adamo's avatar
Max Adamo committed

Max Adamo's avatar
Max Adamo committed
```bash
Max Adamo's avatar
Max Adamo committed
acme-downloader --vault-token=<VAULT-TOKEN> --redis-token=<REDIS_TOKEN> \
Max Adamo's avatar
Max Adamo committed
    --cert-name=foo-ev-cert.geant.org --team-name=swd
Max Adamo's avatar
Max Adamo committed
```

Max Adamo's avatar
Max Adamo committed
 or check all the options using `--help`:
Max Adamo's avatar
Max Adamo committed

```bash
Max Adamo's avatar
Max Adamo committed
ACME Downloader:
  - fetches and stores a given Certificate, Full Chain, CA and Private Key
Max Adamo's avatar
Max Adamo committed

Usage:
Max Adamo's avatar
Max Adamo committed
  acme-downloader --redis-token=REDISTOKEN --vault-token=VAULTTOKEN --cert-name=CERTNAME --team-name=TEAMNAME [--days=DAYS] [--type=TYPE] [--cert-destination=CERTDESTINATION] [--fullchain-destination=FULLCHAINDESTINATION] [--key-destination=KEYDESTINATION] [--ca-destination=CADESTINATION]
  acme-downloader -v | --version
  acme-downloader -b | --build
  acme-downloader -h | --help
Max Adamo's avatar
Max Adamo committed

Options:
Max Adamo's avatar
Max Adamo committed
  -h --help                                     Show this screen
  -v --version                                  Print version exit
  -b --build                                    Print version and build information and exit
  --redis-token=REDISTOKEN                      Redis access token
  --vault-token=VAULTTOKEN                      Vault access token
  --cert-name=CERTNAME                          Certificate name
  --team-name=TEAMNAME                          Team name: swd, dream_team, it, ne, ti...
  --days=DAYS                                   Days before expiration [default: 30]
  --type=TYPE                                   Type, EV or OV [default: EV]
  --cert-destination=CERTDESTINATION            Cert Destination [default: /etc/ssl/certs/<cert-name>.crt]
  --fullchain-destination=FULLCHAINDESTINATION  Full Chain Destination[default: /etc/ssl/certs/<cert-name>_fullchain.crt]
  --key-destination=KEYDESTINATION              Key Destination [default: /etc/ssl/private/<cert-name>.key]
  --ca-destination=CADESTINATION                CA Destination [default: /etc/ssl/certs/COMODO_<type>.crt]```
Max Adamo's avatar
Max Adamo committed
```
Max Adamo's avatar
Max Adamo committed

## compatibility

Max Adamo's avatar
Max Adamo committed
Debian/RedHat/Arch OS families
Max Adamo's avatar
Max Adamo committed

## build

you can use `build.sh` from this repo