Access to a remote MySQL database over SSL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mvndnburg
Posts: 64
Joined: Wed Sep 21, 2016 2:53 am

Access to a remote MySQL database over SSL

Post by mvndnburg »

We have configured Nagios XI (5.2.9) to use a MySQL server on another host. Both running RHEL 6.

Can Nagios XI be configured to use an encrypted (TLS) connection with MySQL?
--
Martijn
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Access to a remote MySQL database over SSL

Post by mcapra »

The short answer is no. You'd basically have to rewrite the connector we use to leverage the mysqli_ssl_set function in some fashion, which is pretty heavy in terms of altering the core of Nagios XI.
Former Nagios employee
https://www.mcapra.com/
mvndnburg
Posts: 64
Joined: Wed Sep 21, 2016 2:53 am

Re: Access to a remote MySQL database over SSL

Post by mvndnburg »

Thanks for your reply.
From what I've read the performance hit could be considerable, anyway.
--
Martijn
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Access to a remote MySQL database over SSL

Post by tmcdonald »

We can certainly put in the feature request if you would like, otherwise I'll be closing the thread.
Former Nagios employee
mvndnburg
Posts: 64
Joined: Wed Sep 21, 2016 2:53 am

Re: Access to a remote MySQL database over SSL

Post by mvndnburg »

I will consider creating a feauture request. However, the results of my quick research into the performance hits put me off. I am counting on getting away with plain text for now.

Please go ahead and close this thread.
--
Martijn
Locked