Hi, On Thu, 2019-09-26 at 16:21 +0200, Marco Ippolito wrote: > > db: > type: postgres > datasource: host=localhost port=5433 user=fabmnet_admin > password=password dbname=fabmnetdb sslmode=verify-full > > > (base) marco@pc:~/fabric/fabric-ca$ fabric-ca-server start -b > admin:adminpw > 2019/09/26 15:56:50 [INFO] Configuration file location: /home/marco > /fabric/fabric-ca/fabric-ca-server-config.yaml > 2019/09/26 15:56:50 [INFO] Starting server in home directory: > /home/marco/fabric/fabric-ca > 2019/09/26 15:56:50 [INFO] Server Version: 1.4.4 > 2019/09/26 15:56:50 [INFO] Server Levels: &{Identity:2 Affiliation:1 > Certificate:1 Credential:1 RAInfo:1 Nonce:1} > 2019/09/26 15:56:50 [INFO] The CA key and certificate already exist > 2019/09/26 15:56:50 [INFO] The key is stored by BCCSP provider 'SW' > 2019/09/26 15:56:50 [INFO] The certificate is at: /home/marco/fabric > /fabric-ca/ca-cert.pem > 2019/09/26 15:56:50 [WARNING] Failed to connect to database > 'fabmnetdb' > 2019/09/26 15:56:50 [WARNING] Failed to connect to database > 'postgres' > 2019/09/26 15:56:50 [WARNING] Failed to connect to database > 'template1' > 2019/09/26 15:56:50 [ERROR] Error occurred initializing database: > Failed > to connect to Postgres database. Postgres requires connecting to a > specific database, the following databases were tried: [fabmnetdb > postgres template1]. Please create one of these database before > continuing Why is it trying to connect to *any* database? In the fabric-ca docs it shows the connection string as a single line but your configuration file has it split over two lines. My uneducated guess is that it is ignoring the 'password=password dbname=fabmnetdb sslmode=verify-full' line and thus unable to connect to fabmnetdb. Cheers, Robert