Skip to content

Commit 860ea46

Browse files
doc: Clarify when SSL actually means TLS
SSL has become the de facto term to mean an end-to-end encrypted channel regardless of protocol used, even though the SSL protocol is deprecated. Clarify what we mean with SSL in our documentation, especially for new users who might be looking for TLS. Reviewed-by: Robert Haas <robertmhaas@gmail.com> Discussion: https://postgr.es/m/D4ABB281-6CFD-46C6-A4E0-8EC23A2977BC@yesql.se
1 parent f505bec commit 860ea46

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

doc/src/sgml/config.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,13 @@ include_dir 'conf.d'
11841184
<title>SSL</title>
11851185

11861186
<para>
1187-
See <xref linkend="ssl-tcp"/> for more information about setting up SSL.
1187+
See <xref linkend="ssl-tcp"/> for more information about setting up
1188+
<acronym>SSL</acronym>. The configuration parameters for controlling
1189+
transfer encryption using <acronym>TLS</acronym> protocols are named
1190+
<literal>ssl</literal> for historic reasons, even though support for
1191+
the <acronym>SSL</acronym> protocol has been deprecated.
1192+
<acronym>SSL</acronym> is in this context used interchangeably with
1193+
<acronym>TLS</acronym>.
11881194
</para>
11891195

11901196
<variablelist>

doc/src/sgml/libpq.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8292,12 +8292,14 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
82928292

82938293
<indexterm zone="libpq-ssl">
82948294
<primary>SSL</primary>
8295+
<secondary>TLS</secondary>
82958296
</indexterm>
82968297

82978298
<para>
82988299
<productname>PostgreSQL</productname> has native support for using <acronym>SSL</acronym>
8299-
connections to encrypt client/server communications for increased
8300-
security. See <xref linkend="ssl-tcp"/> for details about the server-side
8300+
connections to encrypt client/server communications using
8301+
<acronym>TLS</acronym> protocols for increased security.
8302+
See <xref linkend="ssl-tcp"/> for details about the server-side
83018303
<acronym>SSL</acronym> functionality.
83028304
</para>
83038305

doc/src/sgml/runtime.sgml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2182,6 +2182,7 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
21822182

21832183
<indexterm zone="ssl-tcp">
21842184
<primary>SSL</primary>
2185+
<secondary>TLS</secondary>
21852186
</indexterm>
21862187

21872188
<para>
@@ -2193,13 +2194,25 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
21932194
enabled at build time (see <xref linkend="installation"/>).
21942195
</para>
21952196

2197+
<para>
2198+
The terms <acronym>SSL</acronym> and <acronym>TLS</acronym> are often used
2199+
interchangeably to mean a secure encrypted connection using a
2200+
<acronym>TLS</acronym> protocol. <acronym>SSL</acronym> protocols are the
2201+
precursors to <acronym>TLS</acronym> protocols, and the term
2202+
<acronym>SSL</acronym> is still used for encrypted connections even though
2203+
<acronym>SSL</acronym> protocols are no longer supported.
2204+
<acronym>SSL</acronym> is used interchangeably with <acronym>TLS</acronym>
2205+
in <productname>PostgreSQL</productname>.
2206+
2207+
</para>
21962208
<sect2 id="ssl-setup">
21972209
<title>Basic Setup</title>
21982210

21992211
<para>
22002212
With <acronym>SSL</acronym> support compiled in, the
22012213
<productname>PostgreSQL</productname> server can be started with
2202-
<acronym>SSL</acronym> enabled by setting the parameter
2214+
support for encrypted connections using <acronym>TLS</acronym> protocols
2215+
enabled by by setting the parameter
22032216
<xref linkend="guc-ssl"/> to <literal>on</literal> in
22042217
<filename>postgresql.conf</filename>. The server will listen for both normal
22052218
and <acronym>SSL</acronym> connections on the same TCP port, and will negotiate

0 commit comments

Comments
 (0)