Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You need to pass the ssl certification to `connect` for the driver to successfully connect to an encrypted port. Check out the docs here: http://rethinkdb.com/api/python/connect/

EDIT: also, we'll modify the docs to make that more clear (see https://github.com/rethinkdb/docs/issues/1076)



Thanks. That fixed me up:

In [6]: r.connect(host="localhost", port=28015, password="", ssl={"ca_certs": "./cert.pem"}).repl() Out[6]: <rethinkdb.net.DefaultConnection at 0x7f92ea759fd0>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: