openbao

openbao install

openbao freebsd

Download the FreeBSD archive:

fetch https://github.com/openbao/openbao/releases/download/v2.0.1/bao_2.0.1_Freebsd_x86_64.tar.gz

Or:

fetch https://static.nogafa.org/bao_2.0.1_Freebsd_x86_64.tar.gz

Create config file:

mkdir /openbao/data
vim /openbao/config.hcl

Start the server:

./bao server -config=config.hcl

Update 24 sept 2024, now there’s a port:

portmaster security/openbao

Edit /etc/rc.conf:

openbao_syslog_output_enable="YES"
openbao_enable="YES"

Genrate keys:

./bao operator init
Unseal Key 1: RoyMysqlsSPo+8xnAvTnf0/O0w+PHeDuRIZkGfJ6xljs
Unseal Key 2: QbnB0PKGDEBphCspzH9n42BB3ZaOzY/6iHwYYOAntiFa
Unseal Key 3: n7vWYjUSticerQXIGPN+WbWoQRGBhuiTmH9mvJWwEgWs
Unseal Key 4: a5804861Vzo4+5B1p7BlEcZ+VH+8QCDMkv8I8/BEsnmP
Unseal Key 5: oLDnPOOR+GJV7G+6gwWCrAySCftwFMBk4yFWKnjwGMaY

Unseal:

./bao operator unseal

Thanks