forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5c55dc8
committed
libpq: Set Server Name Indication (SNI) for SSL connections
By default, have libpq set the TLS extension "Server Name Indication" (SNI).This allows an SNI-aware SSL proxy to route connections. (Thisrequires a proxy that is aware of the PostgreSQL protocol, not justany SSL proxy.)In the future, this could also allow the server to use different SSLcertificates for different host specifications. (That would requirenew server functionality. This would be the client-side functionalityfor that.)Since SNI makes the host name appear in cleartext in the networktraffic, this might be undesirable in some cases. Therefore, also adda libpq connection option "sslsni" to turn it off.Discussion:https://www.postgresql.org/message-id/flat/7289d5eb-62a5-a732-c3b9-438cee2cb709%40enterprisedb.com1 parentc196842 commit5c55dc8
File tree
5 files changed
+61
-1
lines changed- contrib/postgres_fdw/expected
- doc/src/sgml
- src/interfaces/libpq
5 files changed
+61
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8917 | 8917 |
| |
8918 | 8918 |
| |
8919 | 8919 |
| |
8920 |
| - | |
| 8920 | + | |
8921 | 8921 |
| |
8922 | 8922 |
| |
8923 | 8923 |
| |
|
Lines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1777 | 1777 |
| |
1778 | 1778 |
| |
1779 | 1779 |
| |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
1780 | 1801 |
| |
1781 | 1802 |
| |
1782 | 1803 |
| |
| |||
7797 | 7818 |
| |
7798 | 7819 |
| |
7799 | 7820 |
| |
| 7821 | + | |
| 7822 | + | |
| 7823 | + | |
| 7824 | + | |
| 7825 | + | |
| 7826 | + | |
| 7827 | + | |
| 7828 | + | |
| 7829 | + | |
| 7830 | + | |
7800 | 7831 |
| |
7801 | 7832 |
| |
7802 | 7833 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
306 | 310 |
| |
307 | 311 |
| |
308 | 312 |
| |
| |||
4095 | 4099 |
| |
4096 | 4100 |
| |
4097 | 4101 |
| |
| 4102 | + | |
| 4103 | + | |
4098 | 4104 |
| |
4099 | 4105 |
| |
4100 | 4106 |
| |
|
Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1082 | 1082 |
| |
1083 | 1083 |
| |
1084 | 1084 |
| |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1085 | 1107 |
| |
1086 | 1108 |
| |
1087 | 1109 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
383 | 383 |
| |
384 | 384 |
| |
385 | 385 |
| |
| 386 | + | |
386 | 387 |
| |
387 | 388 |
| |
388 | 389 |
| |
|
0 commit comments
Comments
(0)