SSL Certificate issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
henryg
Posts: 8
Joined: Mon Dec 15, 2014 3:34 pm

SSL Certificate issue

Post by henryg »

We have an internal CA that issues our certs. When I go through the steps of creating a SSL Cert from http://assets.nagios.com/downloads/nagi ... s%20XI.pdf, I am able to apply the cert, but I am getting an error message that states "This certificate was signed by an unknown authority." The Issued by is correct though. Anyone have an idea what might be causing this type of error? Thanks for any help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SSL Certificate issue

Post by scottwilkerson »

Are you using the Cert issued by your internal CA, or did you create one using the steps in the doc you referenced?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
henryg
Posts: 8
Joined: Mon Dec 15, 2014 3:34 pm

Re: SSL Certificate issue

Post by henryg »

I am using the Cert issued by my internal CA.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: SSL Certificate issue

Post by jdalrymple »

The problem you're experiencing could be caused by a great many things. If you followed that documentation exactly you will have ended up with a self-signed cert from the Nagios server. If however at the point of performing

Code: Select all

openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
you broke away and signed on your Internal CA then copied the cert back you should have been fine. It sounds like all of the steps following the signing went well, if you didn't successfully install the certificate httpd wouldn't start and listen using https.

Can you verify that other certificates issued by the same CA are trusted on the same computer using the same browser? Also, is your internal CA a root CA or is it an intermediate CA? If it is an intermediate you will need to create a certificate bundle to install.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SSL Certificate issue

Post by abrist »

What is the output of:

Code: Select all

openssl s_client -connect localhost:443 -CApath /etc/ssl
You may want to PM it as it could contain private info.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked