cdn-ops/global/overlay/etc/puppet/modules/cdn/files/bootstrap-client

6 lines
219 B
Bash

#!/bin/bash
# Create /root/.step, executed by puppet
CA_FINGERPRINT=$(step certificate fingerprint /opt/step-ca/data/certs/root_ca.crt)
step ca bootstrap --ca-url https://localhost:9000 --fingerprint "$CA_FINGERPRINT"