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