[pgpool-hackers: 3617] Re: [PATCH] Change relative path of SSL files to configuration directory

Umar Hayat m.umarkiani at gmail.com
Thu May 7 17:51:33 JST 2020


Hi Peng,
Please find attached updated patch with absolute path support, regression
test 029 covers absolute path support.

Regards
Umar Hayat

On Fri, May 1, 2020 at 9:39 AM Bo Peng <pengbo at sraoss.co.jp> wrote:

> Hi,
>
> On Mon, 27 Apr 2020 18:22:56 +0500
> Umar Hayat <m.umarkiani at gmail.com> wrote:
>
> > Hi Hackers,
> > Please find attached patch for following TODO item
> >
> https://pgpool.net/mediawiki/index.php/TODO#Change_relative_path_of_ssl_key_and_ssl_cert_to_DEFAULT_CONFIGDIR
>
> Thank you for your patch.
>
> I reviewed and testet your patch.
> It seems absolute path can't be used in these parameters.
>
> Could you add the support for absolute path?
>
> > All SSL artefact files (key, cert, ca_cert, crl) paths will be relative
> to
> > configuration directory (pgpool.conf path).  DEFAULT_CONFIGDIR
> > configuration always point to location what we specify at build time.
> This
> > patch use the path of pgpool.conf directory path instead
> > of DEFAULT_CONFIGDIR, so that custom path of configuration can be used. (
> > like we do in regression)
> >
> > Patch includes:
> > 1. Implementation
> > 2. Updated tests
> > 3. Update doc
> >
> > Regards,
> > Umar Hayat
> > EnterpriseDB: https://www.enterprisedb.com/
>
>
> --
> Bo Peng <pengbo at sraoss.co.jp>
> SRA OSS, Inc. Japan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20200507/d80650e1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssl_default_paths_v2.diff
Type: application/octet-stream
Size: 25327 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20200507/d80650e1/attachment-0001.obj>


More information about the pgpool-hackers mailing list