You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The servername option of tls.connect is necessary if the host for SNI is different from the host for the connection. But node-postgres ignores whatever you set for servername and instead uses host:
Server name for the SNI (Server Name Indication) TLS extension. It is the name of the host being connected to, and must be a host name, and not an IP address. It can be used by a multi-homed server to choose the correct certificate to present to the client
The text was updated successfully, but these errors were encountered:
The
servername
option oftls.connect
is necessary if the host for SNI is different from the host for the connection. But node-postgres ignores whatever you set forservername
and instead useshost
:node-postgres/packages/pg/lib/connection.js
Lines 90 to 97 in 8250af4
If
options.servername
is specified, node-postgres should not override that.Relevant Node docs:
The text was updated successfully, but these errors were encountered: