Page 1 of 1

MSSQL encryption issue

Posted: Sun May 26, 2013 7:59 pm
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

Re: MSSQL encryption issue

Posted: Tue May 28, 2013 10:38 am
by abrist
What encryption mechanism does the database server use? SSL, ipsec, certs, something else?

Re: MSSQL encryption issue

Posted: Tue May 28, 2013 4:30 pm
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

Re: MSSQL encryption issue

Posted: Tue May 28, 2013 4:37 pm
by abrist
That would appear to be the case unfortunately.

Re: MSSQL encryption issue

Posted: Thu Nov 10, 2016 11:13 am
by mcapra