xbusd cert generate server-ca - Generate certificates for the server CA.


Generate certificates for the server CA (the one clients connecting to Xbus will check). The file will be named “ServerCA.crt” and is based on a “ServerCA.key” private key.

xbusd cert generate server-ca [flags]



A date (YYYY-MM-DD) or duration (in y, m or d) for expiration


help for server-ca


A comma separated list of hostname and ip addresses that may be used to contact the server. Example: “xbus.mycompany.org,,”

Options inherited from parent commands


The directory where certificates and private keys of use to this program reside.


config file (default is the first existing file in: $HOME/.config/xbus/xbusd.yaml, /etc/xbus/xbusd.yaml)


PostgreSQL database connection string (ex: “sslmode=disable dbname=xbus”)


Maximum allowed number of open database connections


Enable debugging mode, with lots of logging to the console


Show version and commit hash


Set the logging level, defaults to ‘info’


Host of the nats server


Port of the nats server


Enable quiet mode by setting loglevel to ‘error’


Maximum number of db connections for the process storage (defaults to 30% of database.max-connections)


TLS handshake timeout


Enable even more logging than –debug.


Show version


Auto generated by spf13/cobra on 7-Dec-2021