Error: could not use certificate file 'nagios_server.pem'
Posted: Thu Nov 17, 2016 12:21 am
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 went on to secure NRPE with certificate authentication, everything went well BUT I'm encountering this error on the web interface for all checks:
Error: could not use certificate file '/usr/local/nagios/etc/ssl/nagios_server_certs/nagios_server.pem'.
I can run:
I copied a lot of .cfg files from the physical server and then generated the CA and necessary certificates on the VM.
As far as I can tell, everything is configured the same as the physical server (which works).
I tried generating new certificates which didn't help. I also ensured permissions on the certificates were the same as the physical server.
Can anyone point me in right direction?
Regards,
Andrew.
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 went on to secure NRPE with certificate authentication, everything went well BUT I'm encountering this error on the web interface for all checks:
Error: could not use certificate file '/usr/local/nagios/etc/ssl/nagios_server_certs/nagios_server.pem'.
I can run:
Code: Select all
[root@nagios]# /usr/local/nagios/libexec/check_nrpe -f /usr/local/nagios/etc/check_nrpe.config -H 192.168.0.x
I (0.4.4.19 2015-12-08) seem to be doing fine...As far as I can tell, everything is configured the same as the physical server (which works).
I tried generating new certificates which didn't help. I also ensured permissions on the certificates were the same as the physical server.
Can anyone point me in right direction?
Regards,
Andrew.