#!/bin/bash
export PATH=$PATH:/opt/puppetlabs/puppet/bin
echo "Delete old certificates including the cached CA"
puppet ssl clean --localca
echo "Regenerating local certificate"
puppet ssl bootstrap
