bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.65k stars 9.01k forks source link

[bitnami/odoo] external db #21932

Open SnoozeFreddo opened 6 months ago

SnoozeFreddo commented 6 months ago

Name and Version

bitnami/odoo:25.0.5

What architecture are you using?

amd64

What steps will reproduce the bug?

Try to run an external db in odoo that needs a cert, when u have none.

Are you using any custom parameters or values?

No response

What is the expected behavior?

No response

What do you see instead?

Darkness and despair.

Additional information

No response

javsalgar commented 6 months ago

Hi,

Is this something that upstream Odoo supports?

SnoozeFreddo commented 6 months ago

Hi,

Is this something that upstream Odoo supports?

https://www.odoo.com/documentation/17.0/administration/install/deploy.html

SSL Between Odoo and PostgreSQL Since Odoo 11.0, you can enforce ssl connection between Odoo and PostgreSQL. in Odoo the db_sslmode control the ssl security of the connection with value chosen out of ‘disable’, ‘allow’, ‘prefer’, ‘require’, ‘verify-ca’ or ‘verify-full’

@javsalgar

The solution seems to be to place the certificates with the postgresql names (postgresql.key, postgresql.crt and root.crt) in the directory

/var/lib/odoo/.postgresql/

The Odoo docs do not explaint he full process tho.

Mauraza commented 6 months ago

Hi @SnoozeFreddo,

I just created an internal task to implement this. We update this thread when we have more information.