Quando eu inicio o agente fantoche, recebo este erro
Could not request certificate: Could not intern from text/plain: Certname "puppet ca: localhost/localdomain" must not contain unprintable or non-ASCII characters
Ambas as versões de mestre e agente de marionetes são 3.8.7
No arquivo master e agent /etc/hosts
, adicionei estas linhas:
10.11.22.166 pclient
10.11.22.173 pmaster
Eu posso pingar ambos os pclient e pmaster uns dos outros.
No puppet master puppet.conf, adicionei esta linha:
[master]
certname = pmaster
No arquivo puppet.conf do agente fantoche, adicionei esta linha no bloco [main]:
server = pmaster
Porta 8140 ativada:
iptables -I INPUT -p tcp -m tcp --dport 8140 -j ACCEPT
Log do Puppet Master:
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 4 (0x4)
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=Puppet CA: localhost/localdomain
Validity
Not Before: May 3 13:29:42 2016 GMT
Not After : May 3 13:29:42 2021 GMT
Subject: CN=pmaster
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (4096 bit)