NCPA certificate replacement

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

NCPA certificate replacement

Post by hbouma »

I have a question about the NCPA certificate (usr/local/ncpa/var/ncpa.crt).

Does this certificate ever get updated during the update of the NCPA agent? If not, what is the recommended way to update this certificate?
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: NCPA certificate replacement

Post by jomann »

The certificate will be re-made if it is deleted or removed, but it does not get updated during an upgrade. If you just want it to generate a new one, delete the cert file (ncpa.crt) and key file (ncpa.key) and then restart the ncpa listener.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: NCPA certificate replacement

Post by hbouma »

Just 2 quick questions.
If the cert is deleted, will the checks fail until the service is restarted and the cert recreated?
Also, would we need to delete both the crt file and the key file?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NCPA certificate replacement

Post by cdienger »

If the cert or key are removed then the checks will fail with an UNKNOWN status until they are recreated.

If you delete the key then the next time the service is run it will generate both a new key and new cert.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: NCPA certificate replacement

Post by hbouma »

Thank you. That is all we need.
Locked