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

https://github.com/deviceinsight/csbootstrap

Command line client for locally generating a key and retrieving a certificate for communication with CENTERSIGHT
https://github.com/deviceinsight/csbootstrap

bootstrapping centersight certificates

Last synced: about 1 year ago
JSON representation

Command line client for locally generating a key and retrieving a certificate for communication with CENTERSIGHT

Awesome Lists containing this project

README

          

# csbootstrap

## Installation

Install csbootstrap using pip: `pip install csbootstrap --user`.

## Usage

### Certificate bootstrapping

- Download the `bootstrap.json` file for your device from the onboarding dialog in CENTERSIGHT NG.
- Run `csbootstrap bootstrap --bootstrap-info bootstrap.json`.

The last two steps can be combined like this:

```sh
curl -X POST "https://$SUBDOMAIN.centersightcloud.com/api/beta/gateways/urn/$URN/bootstrap.json" \
-u "$USER:$PW" -s \
| csbootstrap
```

Where `URN` is the URN of your device and `SUBDOMAIN` is the subdomain of your organization.

### Certificate renewal

A new certificate can be requested by using the `renew` command like this:
`csbootstrap renew --bootstrap-info bootstrap.json`

### Help

To get an overview of all options run `csbootstrap -h`.