Page 1 of 1

NCPA SSL Certificates

Posted: Fri Nov 08, 2024 11:03 am
by nick-scs
Hi, I am trying to configure the NCPA agent with SSL using third party certificates in ncpa.cfg

This works fine on Windows:
certificate = C:\Program Files\Nagios\NCPA\etc\mycert.crt,C:\Program Files\Nagios\NCPA\etc\mykey.key

I cannot seem to get it working at all on Ubuntu server with:
certificate = /usr/local/ncpa/etc/mycert.crt,/usr/local/ncpa/etc/mykey.key

Am I missing something obvious? Have tried various ownership / permission on the cert files with no success.

Thanks!

Re: NCPA SSL Certificates

Posted: Fri Nov 08, 2024 4:06 pm
by lgute
Hi @nick-scs, thanks for reaching out.

For the likely things...
  • What version of NCPA are you using?
  • Have you verified the file paths are correct and the same in the file system and the ncpa.cfg?
  • Have you restarted NCPA?
  • What errors are you getting? I believe you can turn on extra debug logging, in the ncpa.cfg.