https failure in 4.3.4, not in 4.2.3
I upgraded my last xymon server from 4.2.3 to 4.3.4 this morning. It went well, except for one little thing. https tests.
I found that my proxy machines just ran http tests, but my main server runs https tests. An oversight I'm now correcting. How I found this is that my tests are now failing:
red Wed Aug 31 09:21:47 2011:
red https://iadnasp1.mns.qintra.com/ -
Seconds: 0.06
If I run a curl on the site, I get:
$ curl https://iadnasp1 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). The default bundle is named curl-ca-bundle.crt; you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
Using the --insecure works correctly.
So, we have an internal CA. So I'm guessing I need to install the CA's certificate of authority to clear this issue up? Where do I do that?
Paul.
Paul Root - Engineer III - Qwest is now CenturyLink
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
I upgraded my last xymon server from 4.2.3 to 4.3.4 this morning. It went well, except for one little thing. https tests. [snip] If I run a curl on the site, I get:
$ curl https://iadnasp1 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [snip] So, we have an internal CA. So I'm guessing I need to install the CA's certificate of authority to clear this issue up?
No, you don't. Xymon doesn't perform validation of certificate chains like curl does - essentially, Xymon behaves like curl with the "--insecure" option.
Try running "xymonnet --version" to see if it is able to load the SSL library at all - you should see the SSL library version listed. If that doesn't give you a clue, run "xymoncmd xymonnet --debug HOSTNAME" and see what details it gives about why it cannot connect to the site.
Regards, Henrik
Hmm, xymonnet --version doesn't give me much:
$ xymonnet --version xymonnet version 4.3.4
I just found that the server I built 4.3.4 on doesn't have the openssl-devel rpm installed.
So, I need to rebuild that.
Then I should be able to do a make install over the top, and it won't mess up my configuration files right? (/etc/xymon)
Paul Root - Engineer III - Qwest is now CenturyLink
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner Sent: Wednesday, August 31, 2011 2:46 PM To: xymon at xymon.com Subject: Re: [Xymon] https failure in 4.3.4, not in 4.2.3
I upgraded my last xymon server from 4.2.3 to 4.3.4 this morning. It went well, except for one little thing. https tests. [snip] If I run a curl on the site, I get:
$ curl https://iadnasp1 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [snip] So, we have an internal CA. So I'm guessing I need to install the CA's certificate of authority to clear this issue up?
No, you don't. Xymon doesn't perform validation of certificate chains like curl does - essentially, Xymon behaves like curl with the "--insecure" option.
Try running "xymonnet --version" to see if it is able to load the SSL library at all - you should see the SSL library version listed. If that doesn't give you a clue, run "xymoncmd xymonnet --debug HOSTNAME" and see what details it gives about why it cannot connect to the site.
Regards, Henrik
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Hmm, xymonnet --version doesn't give me much:
$ xymonnet --version xymonnet version 4.3.4
Nope, this version of xymonnet was built without openssl support.
I just found that the server I built 4.3.4 on doesn't have the openssl-devel rpm installed.
Figures.
So, I need to rebuild that.
Then I should be able to do a make install over the top, and it won't mess up my configuration files right? (/etc/xymon)
Correct. If it makes you more comfortable, you can just copy the xymonnet binary into ~xymon/server/bin/
Regards, Henrik
Thanks Henrik!
Paul Root - Engineer III - Qwest is now CenturyLink
-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Wednesday, August 31, 2011 3:59 PM To: Root, Paul Cc: xymon at xymon.com Subject: Re: [Xymon] https failure in 4.3.4, not in 4.2.3
Hmm, xymonnet --version doesn't give me much:
$ xymonnet --version xymonnet version 4.3.4
Nope, this version of xymonnet was built without openssl support.
I just found that the server I built 4.3.4 on doesn't have the openssl-devel rpm installed.
Figures.
So, I need to rebuild that.
Then I should be able to do a make install over the top, and it won't mess up my configuration files right? (/etc/xymon)
Correct. If it makes you more comfortable, you can just copy the xymonnet binary into ~xymon/server/bin/
Regards, Henrik
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
participants (2)
-
henrik@hswn.dk
-
Paul.Root@CenturyLink.com