pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedAbout SSL connection
4+ messages / 3 participants
[nested] [flat]
* About SSL connection
@ 2019-01-06 14:10 John Mikel <blpmftat@gmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: John Mikel @ 2019-01-06 14:10 UTC (permalink / raw)
To: pgsql-general
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
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.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: About SSL connection
@ 2019-01-06 16:59 Ron <ronljohnsonjr@gmail.com>
parent: John Mikel <blpmftat@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Ron @ 2019-01-06 16:59 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 1/6/19 8: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
> 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.
What errors in the log files?
--
Angular momentum makes the world go 'round.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: About SSL connection
@ 2019-01-06 20:01 Adrian Klaver <adrian.klaver@aklaver.com>
parent: John Mikel <blpmftat@gmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Adrian Klaver @ 2019-01-06 20:01 UTC (permalink / raw)
To: John Mikel <blpmftat@gmail.com>; pgsql-general
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: About SSL connection
@ 2019-01-07 14:44 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Klaver @ 2019-01-07 14:44 UTC (permalink / raw)
To: John Mikel <blpmftat@gmail.com>; +Cc: pgsql-general
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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-01-07 14:44 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-06 14:10 About SSL connection John Mikel <blpmftat@gmail.com>
2019-01-06 16:59 ` Ron <ronljohnsonjr@gmail.com>
2019-01-06 20:01 ` Adrian Klaver <adrian.klaver@aklaver.com>
2019-01-07 14:44 ` Adrian Klaver <adrian.klaver@aklaver.com>
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