PHP: mysqli::real_connect – Manual
Despite native driver (mysqlnd 8.3.20) and MySQL >5.6, the flagMYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT will cause connection to be rejected as "not secure", if server is set to require SSL connection (--require-secure-transport=ON). It appears…