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
- Host: GitHub
- URL: https://github.com/deviceinsight/csbootstrap
- Owner: deviceinsight
- License: apache-2.0
- Created: 2019-03-18T17:02:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T10:41:26.000Z (over 1 year ago)
- Last Synced: 2025-05-28T05:46:10.258Z (about 1 year ago)
- Topics: bootstrapping, centersight, certificates
- Language: Python
- Size: 13.7 KB
- Stars: 5
- Watchers: 23
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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`.