Modified puppet server bootstrap to create ca with different subejct (CN=ca) and with 4096 bit key length.
This commit is contained in:
parent
bda06f269d
commit
d4f0c87084
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
(
|
||||
|
|
Loading…
Add table
Reference in a new issue