Modified puppet server bootstrap to create ca with different subejct (CN=ca) and with 4096 bit key length.

This commit is contained in:
Timo Mkinen 2011-07-28 15:01:39 +03:00
parent bda06f269d
commit d4f0c87084

View file

@ -27,6 +27,10 @@ cat /dev/null > /etc/puppet/puppet.conf
ssldir=`echo "require 'puppet'; Puppet.parse_config; print Puppet.settings.value('ssldir')" | ruby`
if [ ! -d ${ssldir}/ca ]; then
puppetca --certname ca --keylength 4096
fi
puppet --version | egrep "^0\." > /dev/null 2>&1
if [ $? -eq 0 ]; then
(