![Puppet 인증서 잡기 오류](https://linux55.com/image/44811/Puppet%20%EC%9D%B8%EC%A6%9D%EC%84%9C%20%EC%9E%A1%EA%B8%B0%20%EC%98%A4%EB%A5%98.png)
Puppet 마스터와 클라이언트를 설치한 후 디렉터리를 요청하면 다음 오류가 발생합니다.
[root@INFINI-ONE puppet]# puppet agent -t
warning: peer certificate won't be verified in this SSL session
info: Caching certificate for infini-one.infinicluster
err: Could not retrieve catalog from remote server: Error 400 on SERVER: No
support for http method POST
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
그 다음에:
[root@INFINI-ONE puppet-2.7.14]# puppet agent -t
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
info: Caching certificate for infini-one.infinicluster
err: Could not retrieve catalog from remote server: SSL_connect returned=1
errno=0 state=SSLv3 read server certificate B: certificate verify failed. This
is often because the time is out of sync on the server or client
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed. This is often because the
time is out of sync on the server or client
답변1
클라이언트와 서버가 동일한 Puppet 버전을 사용하고 있습니까? 이는 서로 다른 두 운영 체제를 사용하고 있는지 확인하는 데 특히 중요합니다.
다음 링크가 도움이 될 수 있습니다.http://bitcube.co.uk/content/puppet-errors-explained
답변2
이 문제는 일반적으로 Puppetmaster와 클라이언트 사이의 시간이 동기화되지 않을 때 발생합니다.
두 서버의 시간이 동일한지 확인하셨나요?
클라이언트가 인증서 생성이 뒤처지면 클라이언트는 인증서의 시작 날짜가 미래이므로 유효하지 않다는 것을 알게 됩니다.