-
Notifications
You must be signed in to change notification settings - Fork 303
Specify CA certificate manually #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes indeed it is, just use caCerts options as specified in the deno docs in your ssl object like this: const sql = postgres(url, {
ssl: {
caCerts: [await Deno.readTextFile('./cert.pem')]
}
}) |
BTW, in Node.js you can use |
I tried #571 (comment) Unfortunately it does not seem to work for a postgresql db on azure (at least). From the postgres lib point of view, is there a workaround ? even hacky ! |
Upon further investigation this is independent of the posgres lib. |
With
deno-postgres
, I can specify a.crt
file (e.g.,supabase.crt
), andsslmode=require
works (tested just now).Is this an option for
Postgres.js
?The text was updated successfully, but these errors were encountered: