Problem
We need to make several Certificate Signing Requests (CSRs) for our datacenter. Two, or two-thousand, it doesn't matter. We're putting together a one-liner that will solve it for us. Of course we're automating it.
Solution
Create a text file containing your server short names. Say, servers.txt
.
salt-master-01
es-data-01 …