#!/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"