MSSQL encryption issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
transmax
Posts: 23
Joined: Mon May 28, 2012 12:04 am

MSSQL encryption issue

Post by transmax »

Hi,

I have an MSSQL database that requires encryption. When using a default install of NagioXI and the check_mssql script I get rejected by the database immediately, probably as expected. The windows application log shows the following error:

Encryption is required to connect to this server but the client library does not support encryption; the connection has been closed. Please upgrade your client library. [CLIENT: 10.250.5.170]

Is there anything I can do on the NagiosXI server (the CLIENT) that can get this working?

One obvious workaround is to set the database to NOT require encryption, but that's less than ideal.

Cheers,

Lee Benson
Transmax
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MSSQL encryption issue

Post by abrist »

What encryption mechanism does the database server use? SSL, ipsec, certs, something else?
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.
transmax
Posts: 23
Joined: Mon May 28, 2012 12:04 am

Re: MSSQL encryption issue

Post by transmax »

If I had to guess, it would be SSL.

It is whatever Microsoft have determined it to be when you select "Force Encryption" in the MSSQL server manager.

Google would seem to indicate that PHP is incapable of making this type of connection from a linux server to a Windows MSSQL server.

This would leave me with using NRPE to do the query on the MSSQL server side as the only solution. Ugly and not very 'portable', I have about 10 MSSQL servers to do this check on.

Regards,

Lee Benson
Transmax
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MSSQL encryption issue

Post by abrist »

That would appear to be the case unfortunately.
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.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: MSSQL encryption issue

Post by mcapra »

Former Nagios employee
https://www.mcapra.com/
Locked