forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitef32675
committed
SSL: Add configuration option to prefer server cipher order
By default, OpenSSL (and SSL/TLS in general) lets the client cipherorder take priority. This is OK for browsers where the ciphers weretuned, but few PostgreSQL client libraries make the cipher orderconfigurable. So it makes sense to have the cipher order inpostgresql.conf take priority over client defaults.This patch adds the setting "ssl_prefer_server_ciphers" that can beturned on so that server cipher order is preferred. Per discussion,this now defaults to on.From: Marko Kreen <markokr@gmail.com>Reviewed-by: Adrian Klaver <adrian.klaver@gmail.com>1 parent8fe3d90 commitef32675
File tree
4 files changed
+39
-0
lines changed- doc/src/sgml
- src/backend
- libpq
- utils/misc
4 files changed
+39
-0
lines changedLines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
886 | 886 |
| |
887 | 887 |
| |
888 | 888 |
| |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
889 | 910 |
| |
890 | 911 |
| |
891 | 912 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
| |||
854 | 857 |
| |
855 | 858 |
| |
856 | 859 |
| |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
857 | 864 |
| |
858 | 865 |
| |
859 | 866 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
| 130 | + | |
130 | 131 |
| |
131 | 132 |
| |
132 | 133 |
| |
| |||
800 | 801 |
| |
801 | 802 |
| |
802 | 803 |
| |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
803 | 813 |
| |
804 | 814 |
| |
805 | 815 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
| 84 | + | |
84 | 85 |
| |
85 | 86 |
| |
86 | 87 |
| |
|
0 commit comments
Comments
(0)