The postgres sslmode has several options for verifying server certificates, including:
- default settings (do not verify)
- verify-ca (just verify ca certificate)
- verify-full
We will need to support this by translating it into rustls clientconfig because the verification will happen inside rustls.
I think there might be some work already done in library list tokio-postgres-rustls (if i remember the name correctly). If not, we can probably create a new library for benefit both library.
The postgres sslmode has several options for verifying server certificates, including:
We will need to support this by translating it into rustls clientconfig because the verification will happen inside rustls.
I think there might be some work already done in library list tokio-postgres-rustls (if i remember the name correctly). If not, we can probably create a new library for benefit both library.