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
MSSQL encryption issue
Re: MSSQL encryption issue
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.
"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.
Re: MSSQL encryption issue
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
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
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.
"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.
Re: MSSQL encryption issue
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/