Search found 22 matches

by ruffy01
Fri Nov 18, 2016 4:22 pm
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Re: Error: could not use certificate file 'nagios_server.pem

avandemore wrote:It appears your issue is resolved then, are we ok to lock this thread?
Yeah, certainly. Thanks.

Cheers,
Andrew.
by ruffy01
Thu Nov 17, 2016 6:37 pm
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Re: Error: could not use certificate file 'nagios_server.pem

Thanks guys :) # sestatus SELinux status: disabled # ls -ld /usr/local/nagios/etc/ssl/ca/ drwxr-x--- 2 root root # ls -ld /usr/local/nagios/etc/ssl/ drwxr-x--- 5 root nagios I altered permissions on the folders so that 'Others' had read access and it's all working fine now. # ls -ld /usr/local/nagio...
by ruffy01
Thu Nov 17, 2016 5:50 pm
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Re: Error: could not use certificate file 'nagios_server.pem

# su - nagios $ cat /usr/local/nagios/etc/ssl/ca/ca_cert.pem permission denied... A copy of check_nrpe.config: -C /usr/local/nagios/etc/ssl/nagios_server_certs/nagios_server.pem -K /usr/local/nagios/etc/ssl/nagios_server_certs/nagios_server.key -A /usr/local/nagios/etc/ssl/ca/ca_cert.pem -2 Cheers,...
by ruffy01
Thu Nov 17, 2016 5:16 pm
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Re: Error: could not use certificate file 'nagios_server.pem

Is this what I should have run:

Code: Select all

# ls -la /usr/local/nagios/etc/ssl/ca/ca_cert.pem
-rw -rw -rw 1 nagios nagcmd 2094 Nov 16 15:06 /usr/local/nagios/etc/ssl/ca/ca_cert.pem
Cheers,
Andrew
by ruffy01
Thu Nov 17, 2016 5:03 pm
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Re: Error: could not use certificate file 'nagios_server.pem

Umm,

The output from:

Code: Select all

# la -la /usr/local/nagios/etc/ssl/ca/ca_cert.pem
bash: la: command not found...
Unfortunately I can't copy/paste from the VM, so please excuse the slow reply.
Thanks avandemore.

Would regenerating the certificates while logged in as the user 'nagios' help?

Cheers,
Andrew
by ruffy01
Thu Nov 17, 2016 4:40 pm
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Re: Error: could not use certificate file 'nagios_server.pem

Thanks for the reply avandemore. OK, I tried: # su - nagios $ /usr/local/nagios/libexec/check_nrpe -f /usr/local/nagios/etc/check_nrpe.config -H 192.168.0.x Error: could not use CA certificate '/usr/local/nagios/etc/ssl/ca/ca_cert.pem That would appear to imply a permissions error of some sort, so I...
by ruffy01
Thu Nov 17, 2016 12:21 am
Forum: Open Source Nagios Projects
Topic: Error: could not use certificate file 'nagios_server.pem'
Replies: 12
Views: 7072

Error: could not use certificate file 'nagios_server.pem'

EDIT: Please use code tags Hi all :) I've just duplicated our physical Centos 7/Nagios server on to a Hyper-v Gen 2 VM. When I say duplicated, I mean it's a completely fresh installation: Centos 7, Nagios Core-4.1.1 with NRPE-3.0. NSClient++ is installed/configured on the monitored servers. I then ...
by ruffy01
Thu Sep 08, 2016 10:06 pm
Forum: Open Source Nagios Projects
Topic: Check_nrpe with Certificate Authentication
Replies: 15
Views: 12763

Re: Check_nrpe with Certificate Authentication

Thanks for that Box293.

Hopefully we can dig up a resolution of some sort :)

Cheers,
Ruffy.
by ruffy01
Thu Sep 01, 2016 5:22 pm
Forum: Open Source Nagios Projects
Topic: Check_nrpe with Certificate Authentication
Replies: 15
Views: 12763

Re: Check_nrpe with Certificate Authentication

One reply on the NSClient++ forum:

"I dont know how the new Nagios check_nrpe works so you have to ask over at Nagios for that."

Oh well.
by ruffy01
Sun Aug 28, 2016 5:25 pm
Forum: Open Source Nagios Projects
Topic: Check_nrpe with Certificate Authentication
Replies: 15
Views: 12763

Re: Check_nrpe with Certificate Authentication

Well, 30 views on the NSClient++ forum, but, alas, no replies as of yet:
https://forums.nsclient.org/t/check-nrp ... ation/4247