fastn
fastn copied to clipboard
`FASTN_PG_CERTIFICATE` is not working
How I have tested:
Create an account on supabase.com, and create a project (which creates a database). Download the certificate for that database.
export FASTN_PG_CERTIFICATE=prod-ca-2021.crt
export FASTN_PG_URL=<your supabase connection string with password>
fastn serve
Try to follow the setup etc specified on fastn.com/sql/.
Error:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'actix-server worker 1' panicked at /Users/amitu/Projects/fastn/fastn-core/src/library2022/processor/pg.rs:322:61:
called `Result::unwrap()` on an `Err` value: Backend(Error { kind: Tls, cause: Some(Error { code: -67843, message: "The certificate was not trusted." }) })