Re: [HACKERS] [Patch] Log SSL certificate verification errors - Mailing list pgsql-hackers

From Graham Leggett
Subject Re: [HACKERS] [Patch] Log SSL certificate verification errors
Date
Msg-id 204484DB-3C56-4697-9C39-1307925F0D5D@sharp.fm
Whole thread Raw
In response to Re: [HACKERS] [Patch] Log SSL certificate verification errors  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] [Patch] Log SSL certificate verification errors
List pgsql-hackers
On 11 Nov 2017, at 6:23 AM, Michael Paquier <michael.paquier@gmail.com> wrote:

>> Currently neither the server side nor the client side SSL certificate verify callback does anything, leading to
potentialhair-tearing-out moments. 
>>
>> The following patch to master implements logging of all certificate verification failures, as well as (crucially)
whichcertificates failed to verify, and at what depth, so the admin can zoom in straight onto the problem without any
guessing.
>
> Could you attach as a file to this thread a patch that can be easily
> applied? Using git --format-patch or simply diff is just fine.

I’ve attached it as a separate attachment.

The default behaviour of patch is to ignore all lines before and after the patch, so you can use my entire email as an
inputto patch and it will work (This is what git format-patch does, create something that looks like an email). 

> Here are also some community guidelines on the matter:
> https://wiki.postgresql.org/wiki/Submitting_a_Patch
>
> And if you are looking for feedback, you should register it to the
> next commit fest:
> https://commitfest.postgresql.org/16/

I shall do!

Regards,
Graham
—

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] [PATCH] A hook for session start
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] GatherMerge misses to push target list