Open IeP4nieF opened 6 months ago
I guess that you then have certificats to provide to the connection?
Can you add these lines (filled with your informations) between line 59 & 60: https://github.com/wallabag/wallabag/blob/f8f7f962cebab65d94f29e165046dc6e638d1a37/app/config/config.yml#L59C9-L59C20
sslmode: require # PostgreSQL specific (LIBPQ-CONNECT-SSLMODE)
sslrootcert: postgresql-ca.pem # PostgreSQL specific (LIBPQ-CONNECT-SSLROOTCERT)
sslcert: postgresql-cert.pem # PostgreSQL specific (LIBPQ-CONNECT-SSLCERT)
sslkey: postgresql-key.pem # PostgreSQL specific (LIBPQ-CONNECT-SSLKEY)
sslcrl: postgresql.crl # PostgreSQL specific (LIBPQ-CONNECT-SSLCRL)
Be careful about the indentation.
Please excuse the very late reply. I'm willing to test this. But where do I find the file config.yml
? I'm using docker-compose to deploy wallabag. And there is only the compose.yml
.
It's inside the running wallabag container
Environment
git clone https://github.com/wallabag/wallabag.git
)My
``` # This file is auto-generated during the composer install parameters: database_driver: pdo_pgsql database_host: postgresql.domain database_port: 5432 database_name: wallabag database_user: wallabag database_password:app/config/parameters.yml
is:What steps will reproduce the bug?
Try
make install
with a dedicated postgresql-host which forces ssl (hostssl
inpg_hab.conf
). After entering all the parametersmake install
fails with throwing an error:Obviously wallabag tries to connect with an unencrypted connection. There is no parameter in the documentation to switch sslmode on.