pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL FIPS 140-2 on Window
3+ messages / 3 participants
[nested] [flat]

* PostgreSQL FIPS 140-2 on Window
@ 2018-10-01 15:44  Bradley May <brad@themayfamily.us>
  0 siblings, 2 replies; 3+ messages in thread

From: Bradley May @ 2018-10-01 15:44 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

I understand the PostgreSQL 9.x installed on a RHEL distribution can be configured and supports FIPS 140-2 when using and properly configuring OpenSSL FIPS. My question is can the same be accomplished with a Windows installation, as easily or similar to the RHEL installation/configuration procedures?

Apologies for such an abstract questions, but I remember reading somewhere that PostgreSQL 9.x  when installed on Windows does not support FIPS 140-2 without installing a more commercial product that has performed the additional compilation requirements.

Respectfully,
brad




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PostgreSQL FIPS 140-2 on Window
@ 2018-10-01 16:08  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Bradley May <brad@themayfamily.us>
  1 sibling, 0 replies; 3+ messages in thread

From: Tom Lane @ 2018-10-01 16:08 UTC (permalink / raw)
  To: Bradley May <brad@themayfamily.us>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Bradley May <brad@themayfamily.us> writes:
> I understand the PostgreSQL 9.x installed on a RHEL distribution can be configured and supports FIPS 140-2 when using and properly configuring OpenSSL FIPS. My question is can the same be accomplished with a Windows installation, as easily or similar to the RHEL installation/configuration procedures?

No.  PG doesn't really have any specific support for the FIPS
requirements.  From our perspective that's implemented by behavioral
changes in libc and openssl.  Perhaps you can find FIPS-ified versions
of those libraries for Windows, but I don't know where to look.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PostgreSQL FIPS 140-2 on Window
@ 2018-10-01 17:17  Joe Conway <mail@joeconway.com>
  parent: Bradley May <brad@themayfamily.us>
  1 sibling, 0 replies; 3+ messages in thread

From: Joe Conway @ 2018-10-01 17:17 UTC (permalink / raw)
  To: Bradley May <brad@themayfamily.us>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

On 10/01/2018 11:44 AM, Bradley May wrote:
> I understand the PostgreSQL 9.x installed on a RHEL distribution can
> be configured and supports FIPS 140-2 when using and properly
> configuring OpenSSL FIPS. My question is can the same be accomplished
> with a Windows installation, as easily or similar to the RHEL
> installation/configuration procedures?
> 
> Apologies for such an abstract questions, but I remember reading
> somewhere that PostgreSQL 9.x  when installed on Windows does not
> support FIPS 140-2 without installing a more commercial product that
> has performed the additional compilation requirements.

As I understand it, FIPS 140-2 support is both "mechanical" (as in your
application will use only FIPS 140-2 approved algorithms and openssl
will be in "FIPS mode" if asked) as well as "compliance" (as in using
software that is actually certified to be FIPS 140-2 compliant).

While without a support subscription you can get "mechanical" FIPS 140-2
support with properly patched OpenSSL library (e.g. using CentOS
configured for FIPS 140-2 system-wide), you will not have FIPS 140-2
"compliance" unless you pay for support from a company that maintains
the certification (e.g. Red Hat, Ubuntu, or SUSE).

The challenge on Windows is to find an SSL library that:

1. Works with Postgres (i.e. openssl or something compatible)
2. Enables Postgres to have mechanical compliance (i.e. works
   system wide in a way that is transparent to Postgres)
3. Is backed by a company that has FIPS 140-2 certification for it

The only one that I have run across that appears to meet all three of
these on Windows is wolfSSL:

  https://www.wolfssl.com/products/wolfssl/

Note that I have no affiliation with them, nor have I actually tried the
product. It claims to have an "OpenSSL Compatibility Layer", so perhaps
it might work for you. If you try it, I'd love to hear back how it goes :-)

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] 3+ messages in thread


end of thread, other threads:[~2018-10-01 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01 15:44 PostgreSQL FIPS 140-2 on Window Bradley May <brad@themayfamily.us>
2018-10-01 16:08 ` Tom Lane <tgl@sss.pgh.pa.us>
2018-10-01 17:17 ` 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