How to specify ssl certificate in piccolo.conf file for postgres connection? #800
Answered
by
dantownsend
sumitsharansatsangi
asked this question in
Q&A
-
I have to use ssl certificate ( for testing , it is now self-signed) for database connection, I didn't find anything on the documentation , how can I specify? |
Beta Was this translation helpful? Give feedback.
Answered by
dantownsend
Apr 3, 2023
Replies: 1 comment
-
Have a look here: https://magicstack.github.io/asyncpg/current/api/index.html#connection
Have a look at the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dantownsend
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have a look here:
https://magicstack.github.io/asyncpg/current/api/index.html#connection
PostgresEngine
takes a config argument which is passed straight through toasyncpg
.Have a look at the
ssl
argument, or alternatively thedsn
argument.