pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: John Mikel <blpmftat@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: About SSL connection
Date: Mon, 7 Jan 2019 06:44:40 -0800
Message-ID: <f89a867a-efb0-4ea3-a12e-cdce9ef61b71@aklaver.com> (raw)
In-Reply-To: <CAAC-7YB_vmGzR1j3hUxeRYBzczvaPFJRWHaD3CabrkSx2fuhmw@mail.gmail.com>
References: <CAAC-7YD8BJ3EJiTO3XpW=kafroi7cYrVU1MsUjyPQgKvY95P5g@mail.gmail.com>
	<8c6b9a7d-6177-7c82-9301-78ba80217fbe@aklaver.com>
	<CAAC-7YB_vmGzR1j3hUxeRYBzczvaPFJRWHaD3CabrkSx2fuhmw@mail.gmail.com>

On 1/7/19 2:51 AM, John Mikel wrote:

Please reply to list also
Ccing list

> Thanks,
> after setting the postgresql.conf file nothing changes (ssl = off)
> is this a bug or what ?

Did you restart the server?

Per Ron's post what are the error messages in the Postgres and/or system 
logs?


> how to enable SSL?what you need to that ?

https://www.postgresql.org/docs/10/ssl-tcp.html

> 
> 
> Le dim. 6 janv. 2019 à 21:01, Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> a écrit :
> 
>     On 1/6/19 6:10 AM, John Mikel wrote:
>      >
>      > Hi,
>      > i was trying to enable SSL on postgresql 10 and 11 Servers after
>     searching
>      > on postregsql documentation i found this :
>      >
>      > ALTER SYSTEM SET/|configuration_parameter|/  { TO | = }
>     {/|value|/  | '/|value|/' | DEFAULT }
>      >
>      > on https://www.postgresql.org/docs/10/sql-altersystem.html
>      > i used
>      >
>      > ALTER SYSTEM SET SSL = ON , querry executed successfully
>      >
>      > after that i entred this Select *  from pg_settings , i saw that
>     ssl value is off,
>      >
>      > after  stoping the service of postgresql it wont start again
> 
>     In addition to what Ron said about checking the logs, you could change
>     the ssl setting back to 'off' in the postgresql.conf file.
> 
>      >
>      > i tried this on both servers 11 and 10 the same problem (the
>     server wont start again)
>      >
>      > I'm using widonws 7 x64.
>      >
>      > my question is  how to enbale SSL ?
>      >
>      > ps : i created all require cert files.
>      >
>      > sorry for my bad english.
>      >
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (4+ messages)

Message-ID: <f89a867a-efb0-4ea3-a12e-cdce9ef61b71@aklaver.com>
Permalink:  ../f89a867a-efb0-4ea3-a12e-cdce9ef61b71@aklaver.com/
Also on:    postgresql.org/message-id/f89a867a-efb0-4ea3-a12e-cdce9ef61b71@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, blpmftat@gmail.com
  Subject: Re: About SSL connection
  In-Reply-To: <f89a867a-efb0-4ea3-a12e-cdce9ef61b71@aklaver.com>
  References: <CAAC-7YD8BJ3EJiTO3XpW=kafroi7cYrVU1MsUjyPQgKvY95P5g@mail.gmail.com> <8c6b9a7d-6177-7c82-9301-78ba80217fbe@aklaver.com> <CAAC-7YB_vmGzR1j3hUxeRYBzczvaPFJRWHaD3CabrkSx2fuhmw@mail.gmail.com> <f89a867a-efb0-4ea3-a12e-cdce9ef61b71@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox