Replies: 1 comment
-
You should then add the nrpe user to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to check the expire date of a remote certificate created by letsencrypt. When I start check_ssl_cert on the console as root I get a nice output:
/usr/local/nagios/libexec/check_ssl_cert -f /etc/letsencrypt/live/mx.example.com/fullchain.pem -w 30 -c 15
SSL_CERT OK - localhost:443, https, x509 certificate 'mx.example.com' from 'Let's Encrypt' valid until Sep 11 12:37:02 2024 GMT (expires in 85 days)|days_chain_elem1=85;30;15;; days_chain_elem2=998;30;15;;
But when I call this script remote with nrpe, the cert file cannot be read. Of course, the owner of the file is root:root.
How do you handle the rights for this script so that it can read root:root cert files?
Beta Was this translation helpful? Give feedback.
All reactions