Connection to remote server fails when encryption is required
Hiya,
Pdot compiled just fine on my Mac but I see the following error:
$ export PGHOST=HOST
...
$ ./target/release/pdot dbname fks | dot -Tpng -ofks.png
thread 'main' panicked at src/main.rs:201:43:
called `Result::unwrap()` on an `Err` value: Error { kind: Db, cause: Some(DbError { severity: "FATAL", parsed_severity: Some(Fatal), code: SqlState(E28000), message: "no pg_hba.conf entry for host \"HOST\", user \"USER\", database \"DATABASE\", no encryption", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("auth.c"), line: Some(550), routine: Some("ClientAuthentication") }) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Seems like there's no encryption, and so auth fails?