<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: textnspeechadmin</title>
    <description>The latest articles on DEV Community by textnspeechadmin (@textnspeechadmin).</description>
    <link>https://dev.to/textnspeechadmin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1040279%2Fe54a0cbf-f9fe-4d8a-8664-9020a3bda86d.png</url>
      <title>DEV Community: textnspeechadmin</title>
      <link>https://dev.to/textnspeechadmin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/textnspeechadmin"/>
    <language>en</language>
    <item>
      <title>How to Configure SSL on PostgreSQL</title>
      <dc:creator>textnspeechadmin</dc:creator>
      <pubDate>Tue, 07 Mar 2023 09:31:27 +0000</pubDate>
      <link>https://dev.to/textnspeechadmin/how-to-configure-ssl-on-postgresql-1j9n</link>
      <guid>https://dev.to/textnspeechadmin/how-to-configure-ssl-on-postgresql-1j9n</guid>
      <description>&lt;p&gt;Configuring PostgreSQL with SSL involves several steps, including:&lt;/p&gt;

&lt;p&gt;Generate SSL Certificate&lt;/p&gt;

&lt;p&gt;The first step is to generate an SSL certificate that will be used to secure the communication between the client and the server.&lt;br&gt;
This can be done using a tool such as OpenSSL.&lt;br&gt;
For example, to generate a self-signed certificate, you can use the following command:&lt;br&gt;
openssl req -new -x509 -nodes -out server.crt -keyout server.key&lt;br&gt;
This will generate a certificate and a private key file in the current directory.&lt;/p&gt;

&lt;p&gt;Configure PostgreSQL Server&lt;/p&gt;

&lt;p&gt;The next step is to configure the PostgreSQL server to use SSL.&lt;br&gt;
Open the postgresql.conf file and uncomment the ssl line and set its value to on.&lt;br&gt;
Also, uncomment the ssl_cert_file and ssl_key_file lines and set their values to the paths of the certificate and private key files generated in step 1.&lt;br&gt;
Configure PostgreSQL Client&lt;/p&gt;

&lt;p&gt;The PostgreSQL client must also be configured to use SSL to communicate with the server.&lt;br&gt;
Open the pg_hba.conf file and add an entry for SSL connections.&lt;br&gt;
For example:&lt;br&gt;
read more: &lt;a href="https://thedbadmin.com/how-to-configure-ssl-on-postgresql/"&gt;https://thedbadmin.com/how-to-configure-ssl-on-postgresql/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>database</category>
      <category>ssl</category>
      <category>sercurity</category>
    </item>
  </channel>
</rss>
