When I start puppet agent I get this errorCould not request certificate: Could not intern from text/plain: Certname puppet ca: localhost/localdomain must not contain unprintable or non-ASCII charactersBoth puppet master and agent versions are 3.8.7In both master and agent /etc/hosts file I added these lines:10.11.22.166 pclient10.11.22.173 pmasterI can ping both pclient and pmaster from each other.In puppet master puppet.conf I added this line:[master]certname = pmasterIn puppet agent puppet.conf file I added this line in [main] block:server = pmasterEnabled 8140 port:iptables -I INPUT -p tcp -m tcp --dport 8140 -j ACCEPTPuppet Master log: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)
Puppet: Could not request certificate
puppet
The error is because of Puppet CA: localhost/localdomainThere is a / in it which is a non-ASCII characters but my problem is different i already assign the different host name so delete the ssl dir which is in /var/lib/puppet/ssl and than resign it again using this command# puppet master --verbose --no-daemonize