You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certbot renews the certificates and then reload postgresql but that doesn't seem to be enough. N8N raised an error connecting to some databases. It worked again after restarting postgresql though. So we need to change the renewal script to restart, it seems. Let's read some docs and see if there's a better way.
Expected Behavior
Postgresql should always use the newest TLS certificate.
Actual Behaviour
Postgresql uses the TLS certificate from it's last restart.
Steps to Reproduce
Wait three months. 😬
Go to N8N -> Credentials -> any Postgres database which hasn't been restarted within 3 months
Make sure that SSL is required and SSL issues are not ignored.
Animated Gif/Screenshot
Severity
bug-s3: a feature is broken but there is a workaround
I searched for this issue and it seems to depend on the Postgresql version. That's why only some servers were affected by this issue. A reload is enough for Postgres 10 and newer. Since a restart is disrupting current connections, I don't think it's worth implementing for the n8n database connector. It would probably cause failed requests once a month and all newer servers don't need it.
Description
Certbot renews the certificates and then reload postgresql but that doesn't seem to be enough. N8N raised an error connecting to some databases. It worked again after restarting postgresql though. So we need to change the renewal script to restart, it seems. Let's read some docs and see if there's a better way.
Expected Behavior
Postgresql should always use the newest TLS certificate.
Actual Behaviour
Postgresql uses the TLS certificate from it's last restart.
Steps to Reproduce
Animated Gif/Screenshot
Severity
bug-s3: a feature is broken but there is a workaround
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: