Skip to content

Translate postgres sslmode to rustls client config #401

Description

@sunng87

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions