NCPA SSL Certificates

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
nick-scs
Posts: 3
Joined: Thu Apr 04, 2024 2:52 am

NCPA SSL Certificates

Post 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!
User avatar
lgute
Posts: 415
Joined: Mon Apr 06, 2020 2:49 pm

Re: NCPA SSL Certificates

Post 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.
Please let us know if you have any other questions or concerns.

-Laura
Post Reply