Which permissions should have a user in sudo to able to sign a certificate request?

asked 2018-12-25 04:00:18 -0600

Hi, Could someone prompt me, please? Which permissions should have a user in sudo to able to sign a certificate request?

I have already added:

ansibleuser  ALL=(root) NOPASSWD:/opt/puppetlabs/bin/puppet *

This user can run cert list --all but command cert sign hostname outputs Error: Could not find CSR for: "hostname".

I guess ansibleuser has lack of permissions

edit retag flag offensive close merge delete

Comments

P.S. I forgot to say, root user able sing the certificate which ansibleuser does not see and got the error message.

console.support gravatar imageconsole.support ( 2018-12-26 12:44:08 -0600 )edit