You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at one of my old implementations of this, I have the following in the my entry point so we can put certs in environment variables. Fancy adding something like this to yours?
if [[ -z"${PGBOUNCER_DATABASE_SSL_CLIENT_CERT}" ]];thenecho"► No SSL Client Cert Found"elseecho"${PGBOUNCER_DATABASE_SSL_CLIENT_CERT}"| base64 -d > /tmp/client-cert.pem
echo"► SSL Client Cert Found. Writing to /tmp/client-cert.pem"fiif [[ -z"${PGBOUNCER_DATABASE_SSL_CLIENT_KEY}" ]];thenecho"► No SSL Client Key Found"elseecho"${PGBOUNCER_DATABASE_SSL_CLIENT_KEY}"| base64 -d > /tmp/client-key.pem
echo"► SSL Client Key Found. Writing to /tmp/client-key.pem"fiif [[ -z"${PGBOUNCER_DATABASE_SSL_SERVER_CA}" ]];thenecho"► No SSL Server CA Found"elseecho"${PGBOUNCER_DATABASE_SSL_SERVER_CA}"| base64 -d > /tmp/server-ca.pem
echo"► SSL Server CA Found. Writing to /tmp/server-ca.pem"fi
Anyway, I'll leave that with you 👍
The text was updated successfully, but these errors were encountered:
Hey there,
Looking at one of my old implementations of this, I have the following in the my entry point so we can put certs in environment variables. Fancy adding something like this to yours?
Anyway, I'll leave that with you 👍
The text was updated successfully, but these errors were encountered: