4

I tried restarting my puppet master but the error still persists.

Also see it from all the puppet agents that try to join.

puppet agent --server puppet.example.com --waitforcert 60 --test --verbose
Error: Could not request certificate: Error 400 on SERVER: header too long
c4f4t0r
  • 5,301
  • 3
  • 31
  • 42
user2363318
  • 361
  • 1
  • 3
  • 11

2 Answers2

15

There were empty ca request files on the puppet master server that needed to be removed.

here: /var/lib/puppet/ssl/ca/requests

user2363318
  • 361
  • 1
  • 3
  • 11
1

In order to resolve the issue, remove the 0-byte file(s) and run the puppet command again. root@server:/var/lib/puppet/ssl/ca# du * 0 ca_crl.pem root@server:/var/lib/puppet/ssl/ca# rm ca_crl.pem root@server:/var/lib/puppet/ssl/ca# puppet cert -al