pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedOpeSSL - PostgreSQL
6+ messages / 4 participants
[nested] [flat]
* OpeSSL - PostgreSQL
@ 2017-11-09 21:59 chiru r <chirupg@gmail.com>
0 siblings, 2 replies; 6+ messages in thread
From: chiru r @ 2017-11-09 21:59 UTC (permalink / raw)
To: pgsql-general; pgsql-hackers@postgresql.org
Hi All,
I am using PostgreSQL version *9.5.7* on Red hat enterprise Linux *7.2.*
*OpenSSL version : * OpenSSL 1.0.1e-fips 11 Feb 2013.
I have a requirement to enable the SSL in my environment with specific
cipher suites,we want to restrict weak cipher suites from open SSL default
list.
We have list of cipher suites, which are authorized to use in my
environment.So the Client Applications use one of authorized cipher suites
while configuring application server.
Is it require to install different version of OpenSSL software instead of
default OpenSSL on Linux ?.
How to configure the PostgreSQL to allow specif cipher suites from
different client applications?
Thanks,
Chiru
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: OpeSSL - PostgreSQL
@ 2017-11-09 22:06 John R Pierce <pierce@hogranch.com>
parent: chiru r <chirupg@gmail.com>
1 sibling, 1 reply; 6+ messages in thread
From: John R Pierce @ 2017-11-09 22:06 UTC (permalink / raw)
To: pgsql-general
On 11/9/2017 1:59 PM, chiru r wrote:
>
> How to configure the PostgreSQL to allow specif cipher suites from
> different client applications?
see https://www.postgresql.org/docs/9.5/static/ssl-tcp.html
--
john r pierce, recycling bits in santa cruz
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: OpeSSL - PostgreSQL
@ 2017-11-09 22:26 Tom Lane <tgl@sss.pgh.pa.us>
parent: John R Pierce <pierce@hogranch.com>
0 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2017-11-09 22:26 UTC (permalink / raw)
To: John R Pierce <pierce@hogranch.com>; +Cc: pgsql-general; chiru r <chirupg@gmail.com>
John R Pierce <pierce@hogranch.com> writes:
> On 11/9/2017 1:59 PM, chiru r wrote:
>> How to configure the PostgreSQL to allow specif cipher suites from
>> different client applications?
> see https://www.postgresql.org/docs/9.5/static/ssl-tcp.html
Note that while you can adjust ssl_ciphers, it's a postmaster-wide
setting; there is not a provision for letting it be set per-user.
Since the SSL handshake necessarily occurs before we find out which
user is trying to connect, it'd be hard to do differently.
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [HACKERS] OpeSSL - PostgreSQL
@ 2017-11-09 22:46 Joe Conway <mail@joeconway.com>
parent: chiru r <chirupg@gmail.com>
1 sibling, 1 reply; 6+ messages in thread
From: Joe Conway @ 2017-11-09 22:46 UTC (permalink / raw)
To: chiru r <chirupg@gmail.com>; pgsql-general
On 11/09/2017 01:59 PM, chiru r wrote:
> I am using PostgreSQL version *9.5.7* on Red hat enterprise Linux *7.2.*
>
> *OpenSSL version : * OpenSSL 1.0.1e-fips 11 Feb 2013.
>
> I have a requirement to enable the SSL in my environment with specific
> cipher suites,we want to restrict weak cipher suites from open SSL
> default list.
>
> We have list of cipher suites, which are authorized to use in my
> environment.So the Client Applications use one of authorized cipher
> suites while configuring application server.
>
> Is it require to install different version of OpenSSL software instead
> of default OpenSSL on Linux ?.
Note -- please don't cross post to hackers as it is off topic for that
list and cross posting is generally frowned upon (pgsql-hackers removed).
Assuming you mean that you need only FIPS 140-2 compliant ciphers, you
would want to configure the OS for system-wide FIPS compliance. See:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/chap-fe...
> How to configure the PostgreSQL to allow specif cipher suites from
> different client applications?
If you still need more control over what Postgres allows, see the
ssl_ciphers configuration setting here:
https://www.postgresql.org/docs/current/static/runtime-config-connection.html#GUC-SSL
HTH,
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development
Attachments:
signature.asc (application/pgp-signature, 818B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [HACKERS] OpeSSL - PostgreSQL
@ 2017-11-10 01:52 chiru r <chirupg@gmail.com>
parent: Joe Conway <mail@joeconway.com>
0 siblings, 1 reply; 6+ messages in thread
From: chiru r @ 2017-11-10 01:52 UTC (permalink / raw)
To: Joe Conway <mail@joeconway.com>; +Cc: pgsql-general
Thanks.
If OpenSSL apply any patches at OS level, Is there any changes/maintenance
we need to perform at PostgreSQL end?
On Thu, Nov 9, 2017 at 5:46 PM, Joe Conway <mail@joeconway.com> wrote:
> On 11/09/2017 01:59 PM, chiru r wrote:
> > I am using PostgreSQL version *9.5.7* on Red hat enterprise Linux *7.2.*
> >
> > *OpenSSL version : * OpenSSL 1.0.1e-fips 11 Feb 2013.
> >
> > I have a requirement to enable the SSL in my environment with specific
> > cipher suites,we want to restrict weak cipher suites from open SSL
> > default list.
> >
> > We have list of cipher suites, which are authorized to use in my
> > environment.So the Client Applications use one of authorized cipher
> > suites while configuring application server.
> >
> > Is it require to install different version of OpenSSL software instead
> > of default OpenSSL on Linux ?.
>
> Note -- please don't cross post to hackers as it is off topic for that
> list and cross posting is generally frowned upon (pgsql-hackers removed).
>
> Assuming you mean that you need only FIPS 140-2 compliant ciphers, you
> would want to configure the OS for system-wide FIPS compliance. See:
>
> https://access.redhat.com/documentation/en-us/red_hat_
> enterprise_linux/7/html/security_guide/chap-federal_
> standards_and_regulations
>
>
> > How to configure the PostgreSQL to allow specif cipher suites from
> > different client applications?
>
>
> If you still need more control over what Postgres allows, see the
> ssl_ciphers configuration setting here:
>
> https://www.postgresql.org/docs/current/static/runtime-
> config-connection.html#GUC-SSL
>
> HTH,
>
> Joe
>
> --
> Crunchy Data - http://crunchydata.com
> PostgreSQL Support for Secure Enterprises
> Consulting, Training, & Open Source Development
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [HACKERS] OpeSSL - PostgreSQL
@ 2017-11-10 02:47 Joe Conway <mail@joeconway.com>
parent: chiru r <chirupg@gmail.com>
0 siblings, 0 replies; 6+ messages in thread
From: Joe Conway @ 2017-11-10 02:47 UTC (permalink / raw)
To: chiru r <chirupg@gmail.com>; +Cc: pgsql-general
On 11/09/2017 05:52 PM, chiru r wrote:
> If OpenSSL apply any patches at OS level, Is there any
> changes/maintenance we need to perform at PostgreSQL end?
>
> On Thu, Nov 9, 2017 at 5:46 PM, Joe Conway wrote:
>> Assuming you mean that you need only FIPS 140-2 compliant ciphers, you
>> would want to configure the OS for system-wide FIPS compliance. See:
>>
>> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/chap-fe...
If you enable FIPS at the OS level on a RHEL 7.x system per that link,
Postgres will automatically be using SSL in fips-mode, nothing specific
you need to (or actually, even can) do.
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development
Attachments:
signature.asc (application/pgp-signature, 818B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-11-10 02:47 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09 21:59 OpeSSL - PostgreSQL chiru r <chirupg@gmail.com>
2017-11-09 22:06 ` John R Pierce <pierce@hogranch.com>
2017-11-09 22:26 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-11-09 22:46 ` Joe Conway <mail@joeconway.com>
2017-11-10 01:52 ` chiru r <chirupg@gmail.com>
2017-11-10 02:47 ` Joe Conway <mail@joeconway.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