Skip to content

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

License

Notifications You must be signed in to change notification settings

deviceinsight/csbootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published