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

Bo Peng pengbo at sraoss.co.jp
Fri May 1 13:39:19 JST 2020


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


More information about the pgpool-hackers mailing list