Page 1 of 1

OVA SSL Cert issue

Posted: Tue Jan 14, 2020 10:39 am
by ciscosucks1234
Hello we spun up a secondary NAgiosXI instance via OVA file from your website. When attempting to access the web gui im getting the following error in firefox. Can someone help me regenerate the self signed ssl certificate?

Code: Select all

You are attempting to import a cert with the same issuer/serial as an existing cert, but that is not the same cert.
Error code: SEC_ERROR_REUSED_ISSUER_AND_SERIAL

Re: OVA SSL Cert issue

Posted: Tue Jan 14, 2020 3:47 pm
by mbellerue
Absolutely, here are some commands.

Code: Select all

cd /usr/local/nagiosxi/var/certs/
openssl req -x509 -newkey rsa:4096 -keyout nagiosxi.key -out nagiosxi.crt -days 3650 -nodes
chown nagios:nagios ./*
chmod go+r ./*
systemctl restart apache2
That should get you going under the new certificate. This document might also help answer any issues you run into.
https://assets.nagios.com/downloads/nag ... s%20XI.pdf

Re: OVA SSL Cert issue

Posted: Wed Jan 15, 2020 10:04 am
by ciscosucks1234
Thank you that fixed my issue feel free to lock thread.

Re: OVA SSL Cert issue

Posted: Wed Jan 15, 2020 10:10 am
by scottwilkerson
ciscosucks1234 wrote:Thank you that fixed my issue feel free to lock thread.
Great!

Locking thread