Fork me on GitHub
#rethinkdb
<
2016-10-03
>
apa51202:10:08

that's worrisome. @jeremykirkham try saving your ssl certificate and use

:ca-cert "/path/to/file"
when connecting.

thedavidmeister04:10:38

(defn ensure-cert-file! [cert]
  (let [cert-file-path "./pub-cert"]
    (if (not (.exists (io/file cert-file-path)))
        (spit cert-file-path cert))
    (if (.exists (io/file cert-file-path))
        cert-file-path)))

(def ca-cert (env :rethinkdb-ca-cert))
(def cert-file-path (if ca-cert (ensure-cert-file! ca-cert)))

thedavidmeister04:10:57

^^ works for me on compose + heroku @apa512 @jeremykirkham

adrien19:10:03

@mikethompson wow that sucks!!! I hope it's not that bad! thanks for the info