pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: somesh.ng@gmail.com
Subject: BUG #16062: pg_restore using ssl certs
Date: Thu, 17 Oct 2019 07:12:01 +0000
Message-ID: <16062-2cb787113ba2d0ed@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16062
Logged by:          Somesh ng
Email address:      somesh.ng@gmail.com
PostgreSQL version: 10.0
Operating system:   Ubuntu
Description:        

Can somebody help me in restoring postgres db using SSL certs. I tried in
below way but it didn't work

pg_restore "host=hostname user=username dbname=database_name
sslcert=sslcert.crt sslkey=sslkey.key sslrootcert=sslroot.pem
sslmode=verify-full" -f filename
It gives the below error

pg_restore: [archiver] could not open input file "host=hostname
user=username dbname=database_name sslcert=sslcert.crt sslkey=sslkey.key
sslrootcert=sslroot.pem sslmode=verify-full": No such file or directory



view thread (2+ messages)  latest in thread

Message-ID: <16062-2cb787113ba2d0ed@postgresql.org>
Permalink:  ../16062-2cb787113ba2d0ed@postgresql.org/
Also on:    postgresql.org/message-id/16062-2cb787113ba2d0ed@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, somesh.ng@gmail.com
  Subject: Re: BUG #16062: pg_restore using ssl certs
  In-Reply-To: <16062-2cb787113ba2d0ed@postgresql.org>
  References: <16062-2cb787113ba2d0ed@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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