sagemathinc / cocalc-docker

DEPRECATED (was -- Docker setup for running CoCalc as downloadable software on your own computer)
https://cocalc.com
Other
398 stars 103 forks source link

#220: Update PSQL SSL docs #221

Closed schrodingersket closed 4 months ago

schrodingersket commented 4 months ago

This PR updates the existing PostgreSQL docs for connecting to an external database to include instructions for configuring an SSL connection. It also provides commands by which one may generate one's own self-signed certificate authority to sign server/client certificates. This also provides a convenient mechanism by which to test https://github.com/sagemathinc/cocalc/pull/7274. Note that at the time of writing, the cocalc-docker image does not yet include the changes necessary for encrypted database connections, and so you will need to build your own image (and update the relevant docker run commands to use this image) to test this out until those changes are released.

Completes #220.