Re: could not accept SSL connection: sslv3 alert bad certificate

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Marco Ippolito <ippolito(dot)marco(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: could not accept SSL connection: sslv3 alert bad certificate
Date: 2019-09-26 14:35:28
Message-ID: ad4641e7-7e58-fc56-ef18-2797489c2e53@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/26/19 1:10 AM, Marco Ippolito wrote:
> Hi Adrian,
> putting in /fabric/fabric-ca/fabric-ca-server-config.yaml :
>
> db:
>   type: postgres
>   datasource: host=localhost port=5433 user=fabmnet_admin
> password=fabmnet1971 dbname=fabmnetdb sslmode=verify-ca
>

> and the corresponding portion of the log file:
>
> 2019-09-26 10:08:27.947 CEST [3728] fabmnet_admin(at)fabmnetdb ERROR:
>  permission denied to create database
> 2019-09-26 10:08:27.947 CEST [3728] fabmnet_admin(at)fabmnetdb STATEMENT:
>  CREATE DATABASE fabmnetdb

User fabmnet_admin does not have CREATE DATABASE privileges. In a psql
session do:

\du fabmnet_admin

If the results do not include Create DB or Superuser then you need to
ALTER ROLE fabmnet_admin to have CREATEDB:

https://www.postgresql.org/docs/11/sql-alterrole.html

NOTE: You will need to above as ROLE that has privileges. Easiest if you
have a SUPERUSER role you can log in as.

>
> I do not undertand...
>
> Marco
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-09-26 14:50:24 Re: "Failed to connect to Postgres database"
Previous Message Adrian Klaver 2019-09-26 14:24:43 Re: Operator is not unique