]> begriffs open source - ai-pg/blob - full-docs/src/sgml/html/gssapi-enc.html
WIP: toc builder
[ai-pg] / full-docs / src / sgml / html / gssapi-enc.html
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>18.10. Secure TCP/IP Connections with GSSAPI Encryption</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="ssl-tcp.html" title="18.9. Secure TCP/IP Connections with SSL" /><link rel="next" href="ssh-tunnels.html" title="18.11. Secure TCP/IP Connections with SSH Tunnels" /></head><body id="docContent" class="container-fluid col-10"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">18.10. Secure TCP/IP Connections with GSSAPI Encryption</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="ssl-tcp.html" title="18.9. Secure TCP/IP Connections with SSL">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="runtime.html" title="Chapter 18. Server Setup and Operation">Up</a></td><th width="60%" align="center">Chapter 18. Server Setup and Operation</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="ssh-tunnels.html" title="18.11. Secure TCP/IP Connections with SSH Tunnels">Next</a></td></tr></table><hr /></div><div class="sect1" id="GSSAPI-ENC"><div class="titlepage"><div><div><h2 class="title" style="clear: both">18.10. Secure TCP/IP Connections with GSSAPI Encryption <a href="#GSSAPI-ENC" class="id_link">#</a></h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="gssapi-enc.html#GSSAPI-SETUP">18.10.1. Basic Setup</a></span></dt></dl></div><a id="id-1.6.5.13.2" class="indexterm"></a><p>
3    <span class="productname">PostgreSQL</span> also has native support for
4    using <acronym class="acronym">GSSAPI</acronym> to encrypt client/server communications for
5    increased security.  Support requires that a <acronym class="acronym">GSSAPI</acronym>
6    implementation (such as MIT Kerberos) is installed on both client and server
7    systems, and that support in <span class="productname">PostgreSQL</span> is
8    enabled at build time (see <a class="xref" href="installation.html" title="Chapter 17. Installation from Source Code">Chapter 17</a>).
9   </p><div class="sect2" id="GSSAPI-SETUP"><div class="titlepage"><div><div><h3 class="title">18.10.1. Basic Setup <a href="#GSSAPI-SETUP" class="id_link">#</a></h3></div></div></div><p>
10     The <span class="productname">PostgreSQL</span> server will listen for both
11     normal and <acronym class="acronym">GSSAPI</acronym>-encrypted connections on the same TCP
12     port, and will negotiate with any connecting client whether to
13     use <acronym class="acronym">GSSAPI</acronym> for encryption (and for authentication).  By
14     default, this decision is up to the client (which means it can be
15     downgraded by an attacker); see <a class="xref" href="auth-pg-hba-conf.html" title="20.1. The pg_hba.conf File">Section 20.1</a> about
16     setting up the server to require the use of <acronym class="acronym">GSSAPI</acronym> for
17     some or all connections.
18    </p><p>
19     When using <acronym class="acronym">GSSAPI</acronym> for encryption, it is common to
20     use <acronym class="acronym">GSSAPI</acronym> for authentication as well, since the
21     underlying mechanism will determine both client and server identities
22     (according to the <acronym class="acronym">GSSAPI</acronym> implementation) in any
23     case.  But this is not required;
24     another <span class="productname">PostgreSQL</span> authentication method
25     can be chosen to perform additional verification.
26    </p><p>
27     Other than configuration of the negotiation
28     behavior, <acronym class="acronym">GSSAPI</acronym> encryption requires no setup beyond
29     that which is necessary for GSSAPI authentication.  (For more information
30     on configuring that, see <a class="xref" href="gssapi-auth.html" title="20.6. GSSAPI Authentication">Section 20.6</a>.)
31    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ssl-tcp.html" title="18.9. Secure TCP/IP Connections with SSL">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="runtime.html" title="Chapter 18. Server Setup and Operation">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ssh-tunnels.html" title="18.11. Secure TCP/IP Connections with SSH Tunnels">Next</a></td></tr><tr><td width="40%" align="left" valign="top">18.9. Secure TCP/IP Connections with SSL </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="40%" align="right" valign="top"> 18.11. Secure TCP/IP Connections with <span class="application">SSH</span> Tunnels</td></tr></table></div></body></html>