Skip to content

Commit 051affb

Browse files
Manan ShahManan Shah
authored andcommitted
Render's PostgreSQL service uses self-signed certificates
1 parent e086533 commit 051affb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

knexfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ const validateProductionConfig = () => {
3636

3737
// Helper function to get SSL config for Render
3838
const getRenderSSLConfig = () => ({
39-
ssl: true,
39+
ssl: {
40+
rejectUnauthorized: false // This allows self-signed certificates
41+
}
4042
});
4143

4244
const knexConfig = {

0 commit comments

Comments
 (0)