<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pg_stat_ssl on Postgres Scripts</title><link>https://www.postgresscripts.com/tags/pg_stat_ssl/</link><description>Recent content in Pg_stat_ssl on Postgres Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>PostgresScripts.com</copyright><lastBuildDate>Tue, 17 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.postgresscripts.com/tags/pg_stat_ssl/index.xml" rel="self" type="application/rss+xml"/><item><title>PostgreSQL SSL Settings Query Guide</title><link>https://www.postgresscripts.com/post/postgresql-ssl-settings-query-guide/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://www.postgresscripts.com/post/postgresql-ssl-settings-query-guide/</guid><description>
&lt;h2 id="postgresql-ssl-settings-query-guide"&gt;PostgreSQL SSL Settings Query Guide&lt;/h2&gt;
&lt;p&gt;This PostgreSQL query retrieves all SSL and TLS configuration settings from the &lt;code&gt;pg_settings&lt;/code&gt; system view. It surfaces whether SSL is enabled, which certificates and keys are in use, what cipher suites are allowed, and all other SSL-related parameters.&lt;/p&gt;
&lt;h2 id="purpose-and-overview"&gt;Purpose and Overview&lt;/h2&gt;
&lt;p&gt;Encrypting connections to PostgreSQL with SSL/TLS is a baseline security requirement for any server that handles sensitive data or accepts connections over a network. This query gives administrators a fast way to audit the current SSL configuration without reading &lt;code&gt;postgresql.conf&lt;/code&gt; directly.
&lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1012089347386563"
crossorigin="anonymous"&gt;&lt;/script&gt;
&lt;ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1012089347386563"
data-ad-slot="7945792173"
data-ad-format="auto"
data-full-width-responsive="true"&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;/p&gt;</description></item></channel></rss>