DIAGNÓSTICO DE CONEXIÓN SQL SERVER


1. Información del servidor

PHP version: 7.4.33
Sistema operativo: Linux

2. Extensión sqlsrv

✅ Extensión sqlsrv instalada

3. Prueba de conectividad TCP

Intentando conectar a 23.23.168.15:1433 ...
✅ Conexión TCP EXITOSA
Tiempo: 0.01 segundos

4. Conexión SQL Server (sqlsrv_connect)

❌ Falló sqlsrv_connect
Array
(
    [0] => Array
        (
            [0] => 08001
            [SQLSTATE] => 08001
            [1] => -1
            [code] => -1
            [2] => [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:0A000086:SSL routines::certificate verify failed:self-signed certificate]
            [message] => [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:0A000086:SSL routines::certificate verify failed:self-signed certificate]
        )

    [1] => Array
        (
            [0] => 08001
            [SQLSTATE] => 08001
            [1] => -1
            [code] => -1
            [2] => [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection. For solutions related to encryption errors, see https://go.microsoft.com/fwlink/?linkid=2226722
            [message] => [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection. For solutions related to encryption errors, see https://go.microsoft.com/fwlink/?linkid=2226722
        )

)