我剛剛根據the guide in the official docs完成了我所有木偶認證的全新再生。木偶4.3.2客戶端節點無法通過SSL連接到Puppet服務器
但是,我遇到了這個錯誤,看似沒有在Google,SO或其他任何地方的優秀潛在客戶。
[[email protected] puppet]$ hostname
client.example.com
[[email protected] puppet]$ puppet --version
4.3.2
[[email protected] puppet]$ sudo puppet config print vardir ssldir
vardir = /var/opt/puppetlabs/puppetserver
ssldir = /var/opt/puppetlabs/puppetserver/ssl
[[email protected] puppet]$ sudo puppet agent --test --server=puppet.example.com
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: SSL_connect SYSCALL returned=5 errno=0 state=unknown state
Info: Retrieving pluginfacts
Error: /File[/var/opt/puppetlabs/puppetserver/facts.d]: Failed to generate additional resources using 'eval_generate': Connection reset by peer - SSL_connect
Error: /File[/var/opt/puppetlabs/puppetserver/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: SSL_connect SYSCALL returned=5 errno=0 state=unknown state
Info: Retrieving plugin
Error: /File[/var/opt/puppetlabs/puppetserver/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=unknown state
Error: /File[/var/opt/puppetlabs/puppetserver/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: SSL_connect SYSCALL returned=5 errno=0 state=unknown state
Error: Could not retrieve catalog from remote server: SSL_connect SYSCALL returned=5 errno=0 state=unknown state
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect SYSCALL returned=5 errno=0 state=unknown state
這is a similar error,但對於一般的Ruby SSL,我不知道如何更改木偶密碼(不認爲它已啓用)。
This post seems to suggest it may be Apache's fault,但我不認爲我在使用Apache。
任何想法?
您是否使用puppetserver(在您的示例中,在'puppet.example.com'中?)。如果你不是,你可能實際上在使用Apache。 – Artefacto
是的,我正在使用Puppet Server而不是舊版的Puppet Master。那我該如何解決這個問題? – lollercoaster
如果確實是一個密碼問題。檢查您是否使用最新版本的Java和JCA提供程序的配置(如果JCA使用本地庫,如果此更新也是如此)。如果有疑問,請從Oracle下載最新的Java 8發行版。 – Artefacto