You will need the step
and step-ca
binary. For openSUSE/SLE you can use the packages
from home:darix:apps
.
- setup a CA
- deploy ssl/ssh certs via a token and optionally enable the renewer services
- deploy ssl/ssh certs via pillars (no connection from the minion to the CA needed)
- restart affected services or even run custom commands after installing new certificates (for both renewer and salt only mode)
- install formula
- if you have an existing step-ca instance ... add a provisioner to your current instance with
su -s /bin/bash - _step-ca
pwgen 64 1 > salt-password
step ca provisioner add [email protected] --create --ssh --password-file=$PWD/salt-password
install -D -d -m 0750 /etc/salt/step{,/config} install -o root -g salt -m 0640 ~_step-ca/salt-password /etc/salt/step/config/password
local_ca_user: [email protected]
file_roots:
base:
- {{ salt_base_dir }}/salt
- {{ formulas_base_dir }}/step-ca-formula
# load the external pillar module
module_dirs:
- {{ formulas_base_dir }}/step-ca-formula/modules
# This will fill in extra values like tokens/certs into the pillar
# make the step_ca pillar the last entry.
ext_pillar:
- step_ca: {}