当我启动傀儡代理时,我会得到这个错误。
Could not request certificate: Could not intern from text/plain: Certname "puppet ca: localhost/localdomain" must not contain unprintable or non-ASCII characters傀儡母版和代理版本均为3.8.7
在主文件和代理/etc/hosts文件中,我都添加了以下几行:
10.11.22.166 pclient
10.11.22.173 pmaster我可以将pclient和pmaster从对方中分离出来。
在傀儡大师puppet.conf中,我添加了这一行:
[master]
certname = pmaster在傀儡代理puppet.conf文件中,我在main块中添加了这一行:
server = pmaster启用8140端口:
iptables -I INPUT -p tcp -m tcp --dport 8140 -j ACCEPT木偶主日志:
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)发布于 2016-05-06 17:14:10
错误是因为
傀儡CA: localhost/localdomain
其中有一个/,它是一个非ASCII字符,但我的问题是不同的,我已经分配了不同的主机名,所以删除/var/lib/ but / ssl中的ssl dir,然后使用以下命令再次退出它。
# puppet master --verbose --no-daemonizehttps://unix.stackexchange.com/questions/281047
复制相似问题