{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4159","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4159/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4159/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4159/events","html_url":"https://github.com/sequelize/sequelize/issues/4159","id":96157367,"number":4159,"title":"postgres ssl with self signed cert on sequelize v1.7.11","user":{"login":"jaime-ez","id":4974776,"avatar_url":"https://avatars.githubusercontent.com/u/4974776?v=3","gravatar_id":"","url":"https://api.github.com/users/jaime-ez","html_url":"https://github.com/jaime-ez","followers_url":"https://api.github.com/users/jaime-ez/followers","following_url":"https://api.github.com/users/jaime-ez/following{/other_user}","gists_url":"https://api.github.com/users/jaime-ez/gists{/gist_id}","starred_url":"https://api.github.com/users/jaime-ez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaime-ez/subscriptions","organizations_url":"https://api.github.com/users/jaime-ez/orgs","repos_url":"https://api.github.com/users/jaime-ez/repos","events_url":"https://api.github.com/users/jaime-ez/events{/privacy}","received_events_url":"https://api.github.com/users/jaime-ez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T20:53:17Z","updated_at":"2015-07-21T06:22:45Z","closed_at":"2015-07-21T06:22:45Z","body":"Hi, I'm trying to connecto to a postgres DB with a self signed cert. These are my connection options:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4974776/8786902/5a391f30-2f07-11e5-9370-9d74ab98646b.png)\r\n\r\nBut I keep getting the error:  code=UNABLE_TO_VERIFY_LEAF_SIGNATURE, response=undefined\r\nThe only way I've been able to connect is setting \r\nexport NODE_TLS_REJECT_UNAUTHORIZED=0\r\nBut this is not recommended...any ideas?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/123180624","html_url":"https://github.com/sequelize/sequelize/issues/4159#issuecomment-123180624","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/4159","id":123180624,"user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?v=3","gravatar_id":"","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T06:22:45Z","updated_at":"2015-07-21T06:22:45Z","body":"Sequelize doesn't do anything to facilitate ssl connections. Try using node-pg directly, and perhaps opening an issue with them https://github.com/brianc/node-postgres to debug further"}}