ezb_pki

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2019 License: AGPL-3.0 Imports: 23 Imported by: 0

README

ezBastion internal PKI microservice.

ezb_pki is a Public Key infrastructure microservice. It will used by ezBastion nodes to interact together.

SETUP

The PKI (Public Key Infrastructure) is the first node to be installed. It will be in charge to create and deploy the ECDSA pair key, used by all ezBastion's node to communicate. The certificates are used to sign JWT too.

1. Download ezb_pki from GitHub
2. Open an admin command prompte, like CMD or Powershell.
3. Run ezb_pki.exe with init option.
  • name: This is the name used as Windows service and as certificates root name.
  • fullname:The Windows service description.
  • listen: The TCP/IP port used by ezb_pki to respond at nodes request. This port MUST BE reachable by all ezBastion's node.
4. Install Windows service and start it.
    ezb_pki install
    ezb_pki start

setup

security consideration

  • ezb_pki is an auto-enrolment system, if you do not add nodes, stop the service or don't install it and use debug mode instead.
  • Protect cert folder.
  • Backup the private/public key.

Copyright (C) 2018 Renaud DEVERS info@ezbastion.com

License

Used library:

Name Copyright version url
gin MIT 1.2 github.com/gin-gonic/gin
cli MIT 1.20.0 github.com/urfave/cli
gorm MIT 1.9.2 github.com/jinzhu/gorm
logrus MIT 1.0.4 github.com/sirupsen/logrus
go-fqdn Apache v2 0 github.com/ShowMax/go-fqdn
jwt-go MIT 3.2.0 github.com/dgrijalva/jwt-go
gopsutil BSD 2.15.01 github.com/shirou/gopsutil
lumberjack MIT 2.1 github.com/natefinch/lumberjack

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL