stablekernel / postgresql-dart

Dart PostgreSQL driver: supports extended query format, binary protocol and statement reuse.
https://www.dartdocs.org/documentation/postgres/latest
BSD 3-Clause "New" or "Revised" License
129 stars 32 forks source link

Example on using SSL with your own self signed certificates #165

Open mars000 opened 3 years ago

mars000 commented 3 years ago

How and where would you put the TLS certificate client in your flutter/dart program ? How do you ensure the dart/flutter program is using the correct postgres client certificate ? What kind of authentication type is supported by postgresql-dart (where is it documented) ?

would be really more complete if there was a complete example on how to use your own self signed certificates with a simple flutter client talking to postgres server